Answer Questions
AGSP DataTable.AcceptChanges() Not Updating DataGrid
Hi, We have an extended datagrid that was working in 2003 but now it doesn't work (after updating to VS 2005). I can see that the value of the column in the row is changing by viewing the Locals window in Debug mode. However, upon executing the DataTable.AcceptChanges() method the DataGrid does not reflect the changes that were made. I also executed a DataTable.GetChanges() and noticed that there were no changes found. The only way we c ...Show All
Chipala VB / Excel dyanmically filling a list box in a cell
Silly question I know, but it has been forever since I coded and I am desparate. I have a spreadsheet in which I want to dynamically fill a (cell) list box based on a value selected in another (cell) list box. I am calling it a cell list box because I am not actually using a vb control but instead have a cell list box (via the cell validation) method. I can get the correct position of the cell and I can add a value to the corre ...Show All
Hillgogoangel Why do the DEBUG (F9) breakpoints not trigger 80% of the time? How do I get it 100%?
Why do the DEBUG (F9) breakpoints not trigger 80% of the time How do I get it 100% Michael Hi Michael Next to Configuration on the Compile Tab, in the Combo box it should say in parenthesis, "Debug" or "Release", so that it looks like "Active (Debug)", or "Active (Release)". Are you debugging on Express or Visual Studio If it's on Express, we won't display the Advanced Compile Options... button on the compile page. However, ...Show All
Dirk Strikwerda Process Lock Up
Is there a way to monitor processes to see whether or not they are doing anything, then kill them if not The reason I need this is that I have .NET dlls that alter Excel Spreadsheets, and I close them down correctly, but sometimes for some reason the EXCEL process will simply lock up and stop the other files from processing. I want a tool that checks the EXCEL processes and if one isn't doing something, then I want the tool to kill ...Show All
Sandyboy Checking rows, columns and grids in a 1 dimensional array
Here's the situation: I've started work on (yet another) Sudoku program. The board is arranged with 81 labels, named label1 - label81, on a 9x9 grid which is further segmented into 3x3 sectionals of 3x3. I created my own control array like so: dim Label(81) as label Then, in an initialization subroutine I manually set each label to some part of the array: Label(0) = label1 etc... Now, in order to make this program work, I'm going ...Show All
Maikel56450 Inserting sounds for when a message box appears
How do you insert a sound so that it plays when a message box is supposed to appear Like lets say I have a BIG button in my program that when clicked, says "Awesome!!!", and l have a audio file on my computer that says the exact same thing, and I want it to play when this message box comes up. How do I do that If you are using VB 2005, you can use the My namespace, ie: My.Computer.Audio.PlaySound("Awesome.wav") &nb ...Show All
Keith Sirmons Adding Tables to DataSet
Hey there, me again... I really don't get it, am I really this stupid I have a DataSet with a table from a SQL-Server. Now, how can I add a second table from another SQL-Server into this existing DataSet I'm sure you guys can help me! Thanks in advance! Felix Hi, If your trying to do this pragmatically, Just fill it specifying a table name: adapter1.Fill(dataset, "Table1") ...Show All
Ricky Lundstal Connection String in Module
Hi, I'm currently working on an application that has only one Form + 2 Modules. In one of my modules i need to have access to 2 Access DataBases. I know there are some objects we can add to our forms to gain access to databases, but I dont want my form to have access to the databases, just one of my modules. Is there a way to do that or do I need to use the form thanks a lot for helping. Its been a long time since I worked with DB. ...Show All
-Matze- RUNTIME Files
I have developed a Client Application using VB6 and Crystal Report 8.5 which will be distributing to my clients. Before deploying this Application, I would like to clarify the following license issues:- Are all the Runtime Files mentioned as Redistributable Code free to distribute to 3rd parties Did any one know these files are free to distribute or not (comcat.dll, swebrs.dll, cselexpt.ocx, sviewhlp.dll, reportparameterdialog.dll, xqvi ...Show All
sunny24 Windows Forms Gridlines
Hi I've just installed Visual Studio and opened up a new project in Visual Basic mode, but the windows form has no gridlines on it. I've searched through the menus and help, but can't find where to turn these on. Please help! Ben That did it. I also hadn't realised VS needs to be restarted in order for the feature to be activated. Thanks for your help! Ben ...Show All
NateLucy How to write a sub for several checkboxes at once
Hello, I am brand new to visual basic, so please excuse me if this is an easy question. I have a form with several checkboxes. I want to make it so that if any checkbox is checked, its label goes from gray to black. I have figured out how to do it for one checkbox, but I can't figure out how to handle many at the same time. Here is what I have so far: Private Sub sidingStyle1Include_cb_CheckedChanged( ByVal sender As System.Object ...Show All
Yutong 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
chall3ng3r Catching Exceptions from a Subroutine
Say you have a Sub that calls a second Sub and an exception occurs in the second Sub, which you catch. Then when the second Sub drops out, execution continues with the next line of the first Sub (i.e. the calling Sub). I'm wondering if there is anyway to let the first Sub know that an exception occurred in the second Sub and allow the first Sub to also drop out instead of continuing. Here is an example in code. You can recreate it by creatin ...Show All
Sandeep Chanda bit depth
hi ppl.. i want to know if we can convert jpeg file to bmp file while we restore the bit depth (24 bit in jpeg format) to (8 bit in bmp format) which is changed by default (by editing in mspaint) ... u can see such bitmap file in urs "c:\document & settings\"(current user)"\local settings\microsoft\application data\ " folder which file is actually the one set as background on ur desktop You can creat ...Show All
Maaloul TreeView web control
I have looked everywhere I can think of for the means to control the height of the menu items, root,parent and leaf nodes, in this control. Also. The NodeIndent property only affects the root node and the parent nodes - I can't find a way to control the indent on the leaf nodes. What am I missing It worked somewhat - the tree renders fine as long as you don't try to define a spec ...Show All
