Answer Questions
Brad Lindberg error converting data type nvarchar to int...
...when I try pass date parameter to procedure on SQL 2005 can you help me Thanks Try using the normal add method and specifying the parameter type. That way you are specifying the type and size of each of the parameters l_cmm_Comando.CommandText = "proc_ins_Colaboradores" l_cmm_Comando.CommandType = Co ...Show All
Hans Geurtsen Debugger is extremely slow
Has anyone else experiance really slow debugging in VB.Net Beta 2 Yesterday was the first time I used it to step through code line by line and I was shocked. It's a simple project with one form using a datagridview and it was horrible. We are talking a 3 - 5 second delay every time I hit the F10 key to step over... Thanks, Aaron I did a "repair" of the installation (as Anthony suggested) and it sped things up c ...Show All
Terrance OBrien RowFilter DateTime Comparison
I have two DateTime fields in a datatable, Start and End. In the rowfilter I want to filter records on just the date portion of the fields (ie. Start=#7/16/05#), but this statement will never be true just as the time portion of the 'Start' field will be taken into account which will never be 12am. How can I use just the Date portion of the DateTime field in a rowfilter.. Thanks in advance, Mike Hi, ...Show All
Buck Woody - MSFT Windows Form Designer generated code
Can anybody guide me, what happened to the " Windows Form Designer generated code" in Visual Basic, Visual Studio 2005 Beta 2. I am familiar with VS2003 and now evaluating VS2005. Also let me know how to use a class from the Form1 class. Thanks. Shan Thanks, Daniel. For others who are wondering like me. Click "Show All File" icon in the Solution Explorer, and expand "Form1". But I found tha ...Show All
TitanIX causing clicks prog
I have a situation where I compute the next toolstripmenuitem to invoke and then click on it for the user. Six different routines are involved. I currently do it by looking at the name of the menu item and picking the correct routine to call. Not only is the is ugly, I left out one of the six categories when I first coded it:-( The appropriate click events are all "stored" in the event properties. How do I retrieve and fire the appropriate one. ...Show All
Lakshmi Running an application
My VB kids cannot run their applications!!! They do Start without debugging and an error comes up "Error while trying to run project: Unable to start debugging. Access denied. Verify that you are an administrator or a member of the 'Debug Users' group..." I cannot add each user to the debug users group of each machine...sometimes kids switch machines . How to I get around this What can I change in .NET's security ...HELP ...Show All
TraversE Using VB2005 DLL in C++
Hi, I am total beginner to C and C++. I wrote a VB2005 Class Library DLL which I can reference from VB and use its members. Now I would like to use it in a C++ program the same way. I read I need to reference it so I right clicked on the project ->references->Added a path to the dll -> clicked on Add New Reference and it came up with a blank form which didn't have a browser on it, wouldn't accept inputs and didn't have anything in it. C ...Show All
Sean Gahan Read records from one table and insert ID into another problem
I have two tables. 1 is nonCash that has the following records: ncID=1, cat=VISA, postn=1, ctryID=1 ncID=2, cat=Check, postn=2, ctryID=1 ncID=3, cat=Money Order, postn=3,ctryID=1 The second tables is nonCashAmt with fields: 1) ncAmtID - PK 2) processID - Index 3) ncID - Index 4) amt 5) remarks processID, ncID combination is unique. I was trying to datareader to find all the records in nonCash where ctryID=1, and insert them into nonC ...Show All
Jason Perez Help with Auto-Complete (Fill with blank)
Hello, I'm having problem with autofill I think vb automatics "kill" blank spaces so when we write this Dim s As String * 10 s = text1.Text text1.MaxLength = 10 text1.Text = "hello" Print Len(RTrim(s)) ' Prints "hello " But I can't figure out how to do this in my code for print it... I'm working on a application that replace fields in word and print it later look at code of prog thats replace fields: -- Private Su ...Show All
shahidmansuri Can't add new form
Yesterdday I added power toys and My.windows.events.extensions. Today I wanted to add a form to my project. I tried the add new item button and got only my templates, with the two choices being the above and search for more templates online. I tried project menu -> add windows form, with the same result. I uninstalled power toys to no avail. I found nothing like windows events extensions, or my.windows, or microsoft. window, etc., ...Show All
lewix Read & change user settings that created by another vb.net project
Hi, How can I read & change user settings that created by another vb.net project If the solution contains more than one executable, is it the better way to share the application or user data by using windows registry The settings are designed to application- and user-specific. They are in XML, so technically there is no barrier to just opening the file, reading in the XML, and acting on the data; however, the folder ...Show All
xcorporation loading image into button
hi, i have a button and i want my button to have a image when in runtime, but my image is located in my project Resources folder, what is the syntax to load the image from the Resources folder to my button button1.Image = image.FromFile(...) thanks Randy, it works..thank you... Assuming VB'05 here. Make sure your image is loaded as a resource in the project's ...Show All
Nick Bolton My code works, my form doesn't - reading .ATT
I developed an application in QBASIC to take the strange one line delivery format from a Form Mail Message and make it look neat. The code has been moved to VB2005Express and used as a learning experience. The code works fine. The display and operation of the form does not. At the end the form sometimes returns Not Responding. Suggestions based on partial code below. Private Sub btnBrowse_Click( ByVal sender As System.Object, ByVal ...Show All
StoneCarver "Pointer" variable in VB?
in C/C++ there is a variable type as a "pointer" means it reference to any particular memory address, does VB has a "pointer" type variable Hi, The .Net framework forces your code to be encapsulated (oop approach) which means pointers are of no use. Well that's just quite idealistic, in reality we do need pointers, in C# we can declare a code as unsafe to be able to use pointers in C++ its default. Actually t ...Show All
Yew Thean Hoo created a simple form to calculate a weekly rate
I created a project to calculate the week rental rate for several vehicles based on the users need for large vehicle, convertible, truck you get the picture. so I used a combo box and select case I need to perform each calculation just once, then clear the memory so I can do an additional calculation. I have something like this, select case case 0 if rdobtnlarge.check andalso rodbtnweekend.check then ...Show All
