Answer Questions
Ford McKinstry I am attempting to write my 1st DLL in Visual Basic
I am using Visual Basic 2005 Express to attempt to write my 1st DLL and keep getting an Entry Point Not Found error when go to use the DLL even though it compiles. What do I need to do to fix this problem. Ah - I get it now :) Welcome to the world of Object Oriented programming, and .net usage. Sorry Renee, but this has absolutely nothing to do with COM. When you comp ...Show All
radjayanti VB6 -> VB2005 conversion question
What/where is the VB2005 equivalent of Cancel in Form_Unload(Cancel As Integer) Thanks, Ah yes, I went back and re-read the docs. Cancel is a property of CancelEventArgs. Thanks. I think the Closing event should do. ...Show All
Hakan at devBiz Connection String To Northwind
Since I have been trying for some time to populate a treeview with a database, I am excited to see this thread. As cited above, I am working with the linked article ("HOW TO: Populate a TreeView Control from a Dataset in Visual Basic .NET" - http://support.microsoft.com/ kbid=320755 ), but not yet able to get it to work. The problem seems to be in "modifying the connection string to point to the Northwind database on your SQL server." When I ...Show All
Aaron Epstein How to refresh a bindingsource
I have an SQL Server database with a table I want to export to a comma separated text file. That table is created with a query which filters data from another table. I thought that by using a bindingsource, I could step thru each record and write them line by line to an ascii file. However, the bindingsource frequently maintains the data contents of the previous query. Is there some way to refresh the bindingsource so that it uses the ...Show All
Shiamak Deploying help file
Ok, first ever post. I've developed a VB application and associated chm which I want to deploy together, currently deploying VB application ok without the helpfile using ClickOnce using 'cd' option. I can get it all to run in Visual Studio by specifying the full path to the chm under HelpName space on the help provider, but of course the deployed application wont have the file in that place. So I've tried adding the chm file to the project an ...Show All
cwi COM Component in 64 bit ?
Are there any microsoft COM Components released for Grid / Spreadsheet that 64-bit compiled ...Show All
Tuoski VS .net and SQL database question.
I am trying to develop a VS.net application using VS 2005 Pro that connects to a SQL database, so that the user can update the information in the tables. Sounds easy enough. The SQL database is on a SQL 2000 server. My problem is, I can get the update method on a form to work using the Northwind database. However, when I try to build a TableAdapter to one of my SQL databases, the TableAdapter wizard will not generate a UPDATE statement or a DELE ...Show All
KaldorKaldience Casting Error
Dear Team there is a field ' Date' in the db allow null... On the form after binding and adding NewRow to insert ...... if the user left the textbox empty an error will raise " Casting "" to Date is invalid " How to solve this error Thank you very much Hi, what is your code If you are expecting people to be leaving the d ...Show All
nyaung Groupbox Limitations?
I am writing an application to control a couple of devices that I have. All of the control code is written so I am developing the UI. One of the forms that I have put together has eight groupboxes. Two of the groupboxes are on their own. One of these groupboxes contains six buttons. Each of these buttons corresponds to one of the remaining six groupboxes. Clicking on one of these buttons causes the third ...Show All
dipz High Memory Usage
In vb.net express 2005 all the applications made have at least 10mb of memory allocated to them. I have made just a blank windows application with nothing in it and it uses 10mb of memory! Is this normal for the program I turned of xp visual effects, and it did not effect the memory usage any... Would it have somthing to do with the .net framework and its beta status The memory usage ju ...Show All
Ranj Help with Writing to Excel
Can someone please help me write to Excel (Office XP) from Visual Studio.Net (2003) using a Data Adapter Here is my code: (I have been able to connect to Excel, import the data, and fill myDataSet with the Excel import) myConnection.Open() myAdapter.UpdateCommand.Parameters.Add( New OleDb.OleDbParameter("@col2", OleDb.OleDbType.Integer)) myAdapter.UpdateCommand.Parameters.Add( New OleDb.OleDbParameter("@col1", OleDb.OleDbType.Integ ...Show All
Marco Bergonzini BUG: debugger losing variable values
over the weekend I had occasion to write a line of code that added two random byte values. I made the mistake of not contemplating the case where the resulting sum produced a result that was too large for the underlying data type to hold -- this turned out to be a nightmare to debug because VS 2005 beta 2 would lose the values of the variables involved when the exception was thrown. here is a sketch of the code that caused that issue: at t ...Show All
Wilson Dutra Opening a powerpoint show inside a .net form
Hi, can any one help me in this as i have to open a .pps file in a .net form but there is no such control i found in .net which open this .I tried to open it in a browser control which is working but is asking for "open or save " options which i dont want to apear ....... I'd recommend you check out the PowerPoint developer resources here: http://msdn.microsoft.com/office/understanding/powerpoint/ The PowerPoi ...Show All
DJeX Processes
How can i do that a process like explorer.exe when it closes it automatically opens again I would have to have a Loop command right No loop command will help. An external application, probably a windows service, would have to monitor for a process running your app, and run one if it fails. VB 2005 has an application model that makes it easy to control global behavior like what happens at shutdown. ...Show All
Robin Imrie How can I change a DataGridView Fontsize in VB.Net at runtime
Is it possible to change a datagridview's fontsize at runtime I have an application that is designed to run on a 1024 x 768 screen. However it will fit on a 800 x 600 screen if I reduce the fontsize. I have determined the screen resolution using the screen.primaryscreen.bounds.size.tostring function I tried this: Me .RatesDataGridView.Font.Size=8 but it is readonly. Yeah you can also do it without t ...Show All
