Visual Studio IDE
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Visual Studio IDE
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
at the 1st line of the Procedure "selectedHomeTeamChanged" Check for If not page.isPostBack=true Then '''''' write your code''''''''' End If
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
I am using vb.net 2008 I want to take Input in a text box from other defice like Barcode Scan or Card Swipe. But I need to Stop Manual input from keyboard on That TextBox. I Test in my code That in Both Cases "KeyPress Event" Called. How Can I do that? Textbox taken Input from Other Device and Not From Keyboard.
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
No, its Return "Nothing" Can You Just Email me Your Code.My Email ID : webarindam@gmail.com
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Hi I'm Creating a DLL File "Fr6Customise.dll" and Code is Imports System Namespace Fr6Customise Public Class LoadModule Public Shared Function ViewModule() As Boolean Return True End Function End Class End Namespace ---------------------------------------- Now I am using that dll in my project whenever needed... Dim CAssembly As Assembly = Assembly.LoadFrom(My.Application.Info.DirectoryPath & "\" & "FR6Customise.dll") Dim scriptType As Type = CAssembly.GetType("Fr6Customise. LoadModule") Dim mi As MethodInfo = scriptType.GetMethod("ViewModule") But, when I am using this Code scriptType always return Nothing. There is any error found in this Code. How Can I Solevd It. Pl, Help me.
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Hi All, I am using vb.net 3.5 and Sql Server 2005 There is no problem with connection if Server Name and Database Name Exist. But the Error occurs when Try to connect the server which is not available. then my application goes hang. It is continue Searching. I'm using : Public Sub ConnectConfig(ByVal DSource As String, Optional ByVal Uid As String = "", _ Optional ByVal Pwd As String = "", _ Optional ByVal InCat As String = "", _ Optional ByVal AuthType As String = "") Dim ConnString As String = "" If FrmConfigSetup.cbAuth.SelectedIndex = 0 Then ConnString = "Data Source=" & DSource & ";Initial Catalog=" & InCat & ";Integrated Security=True;Timeout=60;" & "" Else ConnString = "Data Source=" & DSource & ";Initial Catalog=" & InCat & ";Uid=" & Uid & ";Pwd=" & Pwd & ";Timeout=60;" End If SQLConn = New SqlClient.SqlConnection(ConnString) If SQLConn.State = ConnectionState.Open Then SQLConn.Close() SQLConn.Open() Else SQLConn.Open() End If End Sub when it'sTrying to open the connection then goes hang. So, What can I do , please help me.
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
At first you declare a Datatable Then Innsert Your Data into that DataTable and at last Set DataGridView.dataSource=Datatable
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Try Using This data source=ServerName ;initial catalog=DatabaseName;persist security info=False;user id=DBUserName ;password=DBPassWord;Connection Timeout=600;
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
I am developing an application in vb.net2008,Sql Server 2005 But there is a problem while running my application on Customer Machine. It throws some security related issues Access Denied or so on.... And also my application does not run in Windows Vista. I am changing in my app.manifest file like this ........ Sample Manifest Test Application So, What can I do for This , Please help me. Report post as abusive
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
I am developing an application in vb.net2008,Sql Server 2005 But there is a problem while running my application on Customer Machine. It throws some security related issues Access Denied or so on.... And also my application does not run in Windows Vista. I am changing in my app.manifest file like this ........ processorArchitecture="X86" name="Sample" type="win32" /> Sample Manifest Test Application
So, What can I do for This , Please help me. Report post as abusive
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
I am developing an application in vb.net2008,Sql Server 2005 But there is a problem while running my application on Customer Machine. It throws some security related issues Access Denied or so on.... And also my application does not run in Windows Vista. I am changing in my app.manifest file like this ........ <
processorArchitecture="X86"
name="Sample"
type="win32" />
Sample Manifest Test Application
> So, What can I do for This , Please help me. Report post as abusive
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
I am developing an application in vb.net2008,Sql Server 2005 But there is a problem while running my application on Customer Machine. It throws some security related issues Access Denied or so on.... And also my application does not run in Windows Vista. I am changing in my app.manifest file like this ........
processorArchitecture="X86"
name="Sample"
type="win32" />
Sample Manifest Test Application
So, What can I do for This , Please help me. Report post as abusive
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
I am developing an application in vb.net2008,Sql Server 2005 But there is a problem while running my application on Customer Machine. It throws some security related issues Access Denied or so on.... And also my application does not run in Windows Vista. I am changing in my app.manifest file like this ........ processorArchitecture="X86" name="Sample" type="win32" /> Sample Manifest Test Application So, What can I do for This , Please help me. Report post as abusive
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
its throws an error message : Specified key is a known weak key for 'TripleDES' and cannot be used
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
How Can I Encrypt and Decrypt a String remember its encrypt and Decrypt a null string also Please,Help me
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Hi All, I am using vb.net 3.5 I am facing a problem when I am trying to attach a ".mdf" from my application's Data folder. its throws an error message "Access Denied",but when I am Change the permission manually the database attached successfuly. So, I am trying to Create Data folder's Perpisson and Rights Programiticaly, but it's not accessable. my code is : Try Dim DomainUser As String = Environment.UserDomainName & "\" & Environment.UserName Dim Dinfo As New DirectoryInfo(Folder) Dim Dsecurity As DirectorySecurity = Dinfo.GetAccessControl Dsecurity.AddAccessRule(New FileSystemAccessRule(DomainUser, FileSystemRights.FullControl, InheritanceFlags.ContainerInherit, PropagationFlags.None, AccessControlType.Allow)) Dsecurity.AddAccessRule(New FileSystemAccessRule(DomainUser, FileSystemRights.FullControl, InheritanceFlags.ObjectInherit, PropagationFlags.InheritOnly, AccessControlType.Allow)) Catch ex As Exception Debug.Print("GrantAllAccess EXCEPTION:") Debug.Print(ex.ToString) End Try ---------------------------------------------------------------------------------------------------- After doing This under Sequirity tab in "Allow " Columns all the Checkbox uncheck state, but into the advanced tab all the Checkbox Checked So, What I am doing to to check all the permission in "Security" Tab
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Printer.Release() Printer.Close() Any of this line I am getting That error.
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Hello All, I am going to Print some File from my application. But I am facing some Problems. some times an error message is comming : --------------------------- SOTHER~1 --------------------------- Object is not connected to server --------------------------- OK --------------------------- but there is no problem in Printing, its working fine, but the message box is coming again when going to print next file. My Code is below : ---------------------- For i = 0 To files.Count - 1 Try POSEx = New PosExplorer PrintFileName = files.Item(i) fileData = My.Computer.FileSystem.GetFileInfo(PrintFileName) fileContents = My.Computer.FileSystem.ReadAllText(PrintFileName) If InStr(fileData.Name, ".") > 0 Then PrinterName = (fileData.Name).Split(".")(0) If PrinterName <> DupPrinterName Then SetDeviceVariable(PrinterName) End If DupPrinterName = PrinterName End If device = POSEx.GetDevice(DeviceType.PosPrinter, PrinterName) If Not device Is Nothing Then Printer = POSEx.CreateInstance(device) Printer.Open() Printer.Claim(1000) Printer.DeviceEnabled = True Printer.PrintNormal(2, fileContents) If bCutPaper = True Then Printer.CutPaper(0) End If Printer.DeviceEnabled = False Printer.Release() Printer.Close() System.IO.File.Delete(PrintFileName) End If Catch ex As PosControlException End Try Next Note: My Printing Function written in a separate Thread and it always searches is there any files in my application folder or not. So, How can I fixed this Prolem.
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Hello All, Happy New Year. I am developing an application in vb.net 3.5 I have a MDI form and Several Child Form. In my MDI form I put some Button Like Save,Exit ... In these button Click Event I called the Save function or exit function of the Child Forms. Suppose I have Two Child Form "Form1" and "Form2" In the MDI Save Button Click I call the different events different "Form1.Save" or "Form2.Save". But There is a Focus problem In my Child forms. If I am go for "Form1.Save" its working, but after save the focus will be return back to the "Form1", Then If I doing any activity in my "Child1" it throws an error message "Object reference not set to an instance of the object..." and also a strange problem occures in my form after these any event will be called twice. So, What is the Solution of this problem. Please Help me.
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)
Hi All, I am creating an application in vb.net 2008 and Sql server 2005 I want to create a shared folder in the Server system, Than can be acceasable from all the Other System. And This file using all the User Access Rights. How can I create the Access Rights
Arindam Banerjee Sr. Software Developer Rance Computer Pvt Ltd. Kolkata (India)