|
Fixed.
Problem had nothing to do with multithreading. Code was getting stuck in a while loop. My own dumb fault. A single call to System.Threading.Thread.Sleep inside the while loop brought CPU usage down from 85-100% to 12-18%.
|
|
|
|
|
Hi,
I want to get results from a database, and then add some more info to that, and write all of that info to a text file on the local client 'C drive'. Anyone that knows how to help me?
|
|
|
|
|
Didn't I answer this the other day ?
Getting data from a database is well documented. I assume if you have a DB, you must know how to do this.
To write info to a text file, it's something like My.FileSystem.WriteAllText.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Christian Graus wrote: Didn't I answer this the other day ?
I am not to sure. I have been having problems with internet and code the last few weeks, but it feels like I am getting on top of things again.
Christian Graus wrote: To write info to a text file, it's something like My.FileSystem.WriteAllText.
Ok, excellent, will check the help files for info on this.
|
|
|
|
|
Please tell me how can add text in grid in particular row,col format.Like using textmatrix in vb for adding text.
|
|
|
|
|
Hai
please tell how to get the wizard to create user control. as in vb6 add in manager is there any wizard for creating user control. i want for dotnet 2003 and 2005. pls help me. thanks.
|
|
|
|
|
I am not to sure what you mean, but if you mean, create a ASCX (user control) for a website/application.
You go in the solution explorer in Visual studio:
Right click Solution -> "Add new Item"
Select "Web User Control"
|
|
|
|
|
I have COM object written in C# that exposes connection points and deployed as out of process server.
I wrote VB6 application that supplies handler for the events fired by this COM object.
To do that I added reference in my VB project to type library generated for C# COM.
Next I used WithEvents statement in my VB code to declare variable of the events firing type exported from the COM.
The application works fine. I can consume the events from the C# COM in my VB6 code.
Problem arises when I stop my VB application.
The delegate that implements the event in C# remains assigned and exception is thrown when attempt is made to call it.
When you implement Event Sink say in C++ you use Advise – Unadvise paradigm to assign and clean up your handlers.
What you supposed to do in VB6?
Any help will be appreciated.
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
You are right.
But you replied to the question in all the forums. As a result,
the question does not appear in "Unanswered questions" list in none of the forums, so will hardly get a chance to be answered
Sincerely,
Elina
Life is great!!!
Enjoy every moment of it!
|
|
|
|
|
I'm a visual basic beginner but i have project which have to be done with some visual basic programming. I do not really know how to use visual basic, however, i need to write a program that help me to capture / download the images that captured by the webcam in the website into my computer. Anyone of you can help me? Your contribution is appretiated.
estin
-- modified at 13:04 Friday 25th August, 2006
|
|
|
|
|
|
hi guys,
I am getting a problem using datagridview in VS2005, hope that I will get a good response soon. When I use a DatagridView and add columns to it so DataGridView automatically adds a RowPointing column to itself. Is there any that I can hide that RowPointer columns.
Hope for a fast response.
Regards
Ali Raza
|
|
|
|
|
Not sure what you mean by RowPointing column.
If you mean the RowHeader, you can choose not to display it by setting the DataGridView.RowHeaderVisible property to False.
|
|
|
|
|
Thanks for yours response Keith. If u add any column to datagridview u'll see that a null column automatically add to datagridview whose purpose is to point the selected row. You can check this by simply adding a column to datagrid view.
|
|
|
|
|
Thanks for yours response Keith. If u add any column to datagridview u'll see that a null column automatically add to datagridview whose purpose is to point the selected row. You can check this by simply adding a column to datagrid view.
|
|
|
|
|
I am using System.Diagnostics.StackTrace().GetFrame(1).GetMethod.Name and I am getting inconsistent results when I run this in debug mode versus release mode.
For the debug mode it is working how I expect it to, but for the Release mode some of the functions are not shown in the StackTrace. I am using the 2.0 framework. Anyone have any idea what might be going on?
Thanks in advance.
-- modified at 10:52 Friday 25th August, 2006
Mike Lasseter
|
|
|
|
|
Nevermind. I see that it is the way it intended to be.
Mike Lasseter
|
|
|
|
|
hi all of u
i want to import information from an xml file to my base (oracle) , & i don't know how .
thanks
(& excuse my english i speak frensh )
|
|
|
|
|
Read the XML into a Dataset, and then update Oracle from the Dataset using .NET's Oracle Data Provider.
|
|
|
|
|
i'll try to do it
thank you
|
|
|
|
|
Hi,
Could anyone tell me that how i can display the AutoCAD drawings in VB.Net application.
it's very urgent. please help me in this regard.
i'll be very thankful 2 you.
Thanking you
Rahul Jain
|
|
|
|
|
rahul.rrjain wrote: it's very urgent
That doesn't mean anything in a forum environment...
rahul.rrjain wrote: Could anyone tell me that how i can display the AutoCAD drawings in VB.Net application.
You'll have to use a 3rd party component to load and display the drawing. I don't know of anything that can do this myself, but it shouldn't ge too hard to find with a simple Google search. Another option would be to check on AutoDesk's Developer site to see if there are any options for you.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
i placed one command botton in vb form
if i click on that it select one *.mdb file and that file stored in another location
urgent please
thanks in advance
prasad
|
|
|
|