Answer Questions
wally666 Two fairly simple questions but i dont know how to phrase them. Basic VB language.
Hi got a few problems that i dont know how to sort. 1. Firstly, i have a for loop that creates datagridviews within tabs, a give number of times. How do i distinguish which datagridview is which Since i am creating them with the same "dim userdata as new datagridview". 2. When i create an event handler to handle a cell click for the datagrid view, obviously the data from "userdata.rows( ...." ...Show All
ntsoo Printing text at specific (x,y) on a pre-printed Invoice
I have a pre-printed Invoice and want to write a UI to grab user data (such as "Sold To" or Unit Price") and print that data at specific locations on the Invoice. Assuming I user Courier ( ) how can I specify the (x,y) coordinates, in inches, of where to print the various text items . TIA, Barkingdog P.S. I use VB.NET 2005 Have a loo ...Show All
Jahir Saleem Mass Rename of Labels (Reflection?)
I have a form with 500 labels (I know, sounds crazy, but there is a reason). Is there some way to rename them programatically I was thinking of Reflection, but I don't know enough about it. Alternately, could I create a array (or other collection) of the labels That would really be a great solution as I could then manipulate the contents easily. Thanks Roger Thanks The simplest answer is usually the best !! My goal ...Show All
nkat2112 Replacement of INI files in VB 2005
Hi all, I want to know that what is replacement of the INI files Actually i have to save some settings like open connection, forms colorings etc in the settings files So what type of file i have to use in Vb2005 XML / Config/Settings what r they Thanks in advance Regards You can use Application Setting. here is a tutorial http://msdn.microsoft.com/vbasic/reference/My/default.aspx pull=/library/en-us/dnvs05/htm ...Show All
e-mhigz Assignments within expressions
Will VB ever allow for assignments within expressions I've boggled over translating simplistic C# code into VB.NET code many hours since VB doesn't allow this. Take the following two code pieces for example: while (--n >= 0) { // do some code } And while (n-- >= 0) { // do some code } This may seem simple to translate at first, but only if the variable n is ...Show All
PaulBSteelerFan SQL 2005 and VB.net 2005
I have a question dealing with SQL and VB. I have been looking for a way to "Browse" my SQL for different Databases for useage in my programs. Is there something I'm missing dealing with a way to browse the SQL My app under Access had a dialog to select which MDB you wanted to use. I know SQL is Different, Need to get list of Servers. Now I want to be able to have the client select which server to use, and which database. I don't use ...Show All
YesK compiling and running code at runtime
I've seen it done in c# where you can import and run c# code in files at runtime. Is there a way to do this in visual basic Sure. http://msdn2.microsoft.com/en-us/library/microsoft.visualbasic.vbcodeprovider(VS.80).aspx has an example that can compile either C# or VB code. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet10082002.asp has an example on how to load assemblies and execute code from 'em. ...Show All
Ludy Easy way to work with Time Zones
Hello, I have a problem. How can I easily work with different time zone client of my asp.net 2.0 application live at different part of the states, and I like to write a vb class to handle there time. Help Alan, I'm not sure what your exactly asking for here. If you want to store the date/time in a value which can be used to ensure that you can determine the actual time of say a transaction on ...Show All
Dean Hawthorne Click-Once is not so simple...
ok, here's the problem: i'm using VB.NET 2005 beta 2 all working nicely. i've made an app, debugged it and it runs all nice from the normal exe. but when i went to publish it, it seemed to work all fine until the installation page opened. i try to launch it but it says the "application is improperly formatted". clearly it isn't because i have run the bin exe many times. now, not only does the publishing not work, but when i go back to run t ...Show All
Kapil Kelaiya Help me Filter Checkbox
hi all.... i have good experience with vb but i have some serious problems i have created a mysql with table dss but i`m confused about this i think many people will have this problem in future this is the table of dss ================== date (data type = date) drivers(data type = text) group (data type = text) speed(data type = number) score (data type =number) ================== ---------------------------------------------------------- ...Show All
**Bob serial port - com
I toke from the VB6 the example about using the serial port with MSComm. I run this program in VB2005 after it was upgrade ofcourse by the VB2005 and try to send and receive strings in a loop(1-1000). But sometimes in this loop the string that I'm sending is stuck or something that I don't understand why I run this loop with the some strings a lot of times and everytime is a different string that stuck. if someone can ...Show All
Yady Scan using TWAIN
Is there any actvex control to scan / acquire images in Vb.Net Previousy I was using the Kodak Image tools. Now it is not wit VB.net Here is an example I've done a prototype for that which uses WIA instead. That requires you adding a reference to wiaaut.dll (the version I'm using is 5.1.2600.1106, 323624 bytes, 11-11-2002 18:08). Sorry that the comments are in portuguese!... anyway I found it to be ok, except for the fact that I ...Show All
NuclearIntern create storage
How or what do I add so that my dll file can information for my program. I've tried many different things and can't get it to work. Does any one know how this is possible Thanks What would you recommend as a faster more reliable storage between the two And if database. What type. Thats many out there. Thanks A dll can not store values in ...Show All
Demono Creating Short cut keys in windows forms
Hi, We are trying to migrate a project from VB to VB.NET. Lot of short cut keys have been used for buttons in Visual Basic. how do we implement the short cut keys in VB.NET windows forms Thanks, Kris Shortcut keys are really quite simple to implement in VB To provide save a short-cut keys on a button as an example, for the text property place a & character immediately prior to the character you w ...Show All
caixiaoshan Run time err
I'm using Quickbooks for small buisness 2005 and trying to print envelopes which has worked in the past. When I tried to do it today I got the following message Run Time Error -2147467259 (80004005) Method 'ReturnAddress' of object 'Envelope' failed my obtions of continue or debug are not available to use only end or help. When you choose print envelope it goes to a Microsoft Word document to do it. This is where I am getting ...Show All
