|
adamwike wrote: that is a lot less confusing and makes the program look less cluttered
Not only that, but more importantly, it is more maintainable.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
i want to copy web page contents into a text file or excel using any script
how it will possible
please guide me
Regards
|
|
|
|
|
Use the HTTP classes to navigate tot he desired page and obtain its contents. then use the TextWriter to dump it to a filestream.
That is one method.
|
|
|
|
|
mates,
Is it possible to have to checkbox in single column of datagridview? If possible, how to do that? Thanks.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
|
I have installed an application that I have written on a windows 7 6g bit machine I am getting the follow error
Microsoft.Jet.OleDb.4.0 provider is not registered on the local machine.
any idea on how to fix it
by compiling code to x86 the program works in win 7 64 bit edition
modified on Sunday, March 28, 2010 9:49 PM
|
|
|
|
|
32 or 64 bit?
AFAIK there is no 64 bit version.
That may be an issue
try here for help
http://support.microsoft.com/kb/278604[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
|
Sorry, didn't spot that in the question.
You may have to compile as 32 bit. (x86)
That's pushed my envelope of knowledge on it.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
how to I change the settings.
|
|
|
|
|
Since you cannot mix 32 and 64 bit code in the same process, you have to recompile your app not as Any COPU, but as x86. This forces your code to be compiled as a 32-bit app. There are no 64-bit Jet or Ole drivers, so you have no choice but to recompile your app.
|
|
|
|
|
how do I check that it is compiled as a 32 bit application?
|
|
|
|
|
For C#: Project menu -> <myprojectname> Properties. It's on the Build tab -> Platform Target.
For VB.NET: Project menu -> <myprojectname> Properties. It's on the Compile tab, click on the Advanced Compile Options button. It's the Target CPU option.
|
|
|
|
|
64 bit,
i have looked at the support link with no resolution, any other idea.
|
|
|
|
|
I would like to know if I need to dispose of anything in this code
Dim frmToRnd As System.Windows.Forms.Form = Me
Dim regionRects(radius * 2 + 2) As System.Drawing.Rectangle
Dim circle As New Bitmap(radius * 2, radius * 2)
Dim g As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(circle)
g.Clear(Color.White)
g.FillEllipse(Brushes.Black, 0, 0, circle.Width, circle.Height)
The rest of the code just uses what you see above. Do i use
Dispose.g
or do I need to dispose of regionRect and circle?
Thanks in advance for any help, time and patience.
rspercy60
rspercy
If "You wash your feet and find a pair of socks " Then
"You ARE a Redneck"
End If
|
|
|
|
|
You should dispose objects that are IDisposable[^] because those objects' classes do implement this interface to provide the method Dispose to release unmanaged resources.
In your code you should dispose the Bitmap and the Graphics objects.
You should also read about the Using statement[^].
Eslam Afifi
|
|
|
|
|
Thank you very much Eslam. I knew somethings have to be disposed of, but
I didnt know what. Once again, Thank You.
rspercy
If "You wash your feet and find a pair of socks " Then
"You ARE a Redneck"
End If
|
|
|
|
|
You're welcome.
Eslam Afifi
|
|
|
|
|
Hi Everybody!
I'm trying to capture all audio played through my computer's sound card to a WAV audio file. I've found a few examples like this one:
Sound Capture[^]
But they're all in VB6 and I'm struggling with the translation. Does anybody know of any examples in VB.NET that I could use to get an idea of how to accomplish this?
Thanks!
MrWolfy
|
|
|
|
|
Here is another one - I just used a search engine.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi!
Thanks for the link to the example, for it has answered some of my questions about working with WAV files in VB.NET. However, it does not seem to highlight how sound can be captured as it is played on a computer. Do you know of any examples that are capable of doing this?
MrWolfy
|
|
|
|
|
Can looping be used in the following manner?
for i=0 to 10
label i .visible =false
next
If not then kindly refer a solution to this querry.
|
|
|
|
|
No - in Vb.Net there is no concept of a "control array" and so you cannot.
An easy alternate is to create a set of labels and keep track of them via a collection like a List or an Arraylist .
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Abhinav S wrote: No - in Vb.Net there is no concept of a "control array"
That is nonsense.
My advice is free, and you may get what you paid for.
|
|
|
|
|
Here[^] is Microsoft's response to "Control Arrays".
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|