|
and what is the defintion of file?
is that the same as my connectionstring?
|
|
|
|
|
File is a class in the System.IO namespace that exposes amongst others a static Copy method.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
no prob
i forgot using system.io
thx for all the help
|
|
|
|
|
i am trying to move all of my controls in the form,when i resize form.For that in form_resize event i am just adding the difference in actual size and resized size to left of the controls. whle doing that,controls not giving the impression of just moving they are giving jumpinig like effect and like overlapping etc but once i finish resizing they are at the modified locations only,so now my problem is controls movement should not have that flickering or jumping like effect while i am resizing the form
thanx in advance.
|
|
|
|
|
Why not use the dock property?
only two letters away from being an asset
|
|
|
|
|
Hi,
In your FormResize event use
this.SuspendLayout() before the code that does the resizing and
this.ResumeLayout(true) after it.
Hope it helps.
Do your best to be the best
|
|
|
|
|
yaa i did as you said but don't know it didn't work please suggest some thing to avoid my problem
|
|
|
|
|
Can anyone tell me how I can programatically retrieve the version numbers of DLLs and Executables, other than the executing DLL or EXE, using Visual Studio 2005?
Thank you...
|
|
|
|
|
|
I have now and thank you very much.
|
|
|
|
|
I have data in a SQL Server™ 2000 database and I would like to write a Windows® Forms app to allow users to export and save the data to Microsoft® Word. How can I do this using C#?
|
|
|
|
|
Office Automation is your friend and easily reachable from C# (i.e. .NET). You can create documents, add information and save, as long as Word and all necessary libraries (including .NET) are installed on the target system.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
hello
I tryed to convert one of my matlab function into a C# Dll that I can use.
I saw in an example of Matlab that they use a dll that called mclmcrrt71.dll
but I don't know which method does mclmcrrt71 has
to add mclmcrrt71 I need to make a signture.
my questions are:
1) how can I know what function does mclmcrrt71.
2) is there any other way to make a Matlab a C# file
3) can I get an information about the IntPtr
please help
help me!!!!
|
|
|
|
|
hello all ...
in a program i show data (in db) via tableAdapter and BindingSource ....
in search part i used filter BindingSource property ,but i don't know how can impliment "like" sql command whit it?
|
|
|
|
|
Hi.
You may found the answer.But...
BindingSource1.Filter="Name Like'"+textBox1.Text+"'";
And also this
BindingSource1.Filter="Name Like'"+textBox1.Text+"%'";
CanI
|
|
|
|
|
I have a solution with two executable projects, and two libraries. One exe is private, for support only, and the other is to be deployed as ClickOnce to clients. However, when I publish this app with the wizard, it always publishes the other app as well, even if remove that app from the build. If create a third project, an exact copy of the support project, it does not publish. This indicates that the project name is persisting somewhere when it should not. Any ideas?
|
|
|
|
|
On the properties page for the project look under the Publish tab, click the Application Files button and see if the unwanted app is listed there.
only two letters away from being an asset
|
|
|
|
|
I looked, and it wasn't there, but now it's not publishing. Just one of those things.
However, now it has just arbitrarily stopped installing the Start Menu etc. items, even when the application is clearly marked for on and off line.
I'm going to go to manual publication now.
|
|
|
|
|
if i have the hash code of any string how can i get this string
|
|
|
|
|
You can't, that's the whole point of a hash, it's one-way. Although you could get it via brute force.
As of how to accomplish that have you ever tried Google?
Failing that try .
|
|
|
|
|
Hello Friends,
I want to play a "beep" of perticular sound device.
That is i have more than one sound cards in my PC. But i want
to play beep from sound card from specified card. how to do
sound card selection through coding only.
Currenly, i am using playsound function of winmm.dll but can't
specify sound card in that function.
So, How to do that.
Thanks in advance
Rahul Kulkarni
|
|
|
|
|
First question is why would you need two sound cards? I don't think it will work. I have a system with a built in sound card but when I plugged in a PCI card it disabled the onboard.
only two letters away from being an asset
|
|
|
|
|
Thank you for reply.
I clear my intention.
What is the thing i have made an application which uses
an external sound card i.e. usb sound card.
currently i am using playsound function to play ding of system
But it uses default sound devices i.e. onboard sound card and not
my externally attached one. So i want any other function in which
we can specify sound card to be used to function to select default sound card.
Thanks in advance.
Rahul Kulkarni
|
|
|
|
|
Hi all
Firstly, I'm sorry if this is a stupid question, but I'm new at all thia programming malarkey.
I'm attempting to write an app using C# and at the moment I need a graph display that has several specific functions. Mainly, I wish it to be very interactive, with realtime panning and zooming of the displayed waveform.
I have completed this using GDI+, but it does not seem fast enough. When I pan or zoom the graphical display there is much flickering. Double buffering didn't help.
I've been searching the web for a good few hours now and come up with nothing.
Hence I though opengl was the solution, but I'm having trouble finding a tutorial or information about how to create standard windows form application with buttons and the usual controls and have an opengl view in it. (to clarify, its the opengl window on the form bit I cant find, *not* the windows form standard controls)
So, two questions really:
1. Will using opengl (CsGL, Tao, whatever) actually help? I as assuming it outperforms GDI+, is this assumption correct?
2. Are there any tutorials on how to plonk an opengl window onto a windows form?
Thanks in advance.
|
|
|
|
|
Yes, it will outperform GDI+. DirectX is another posibility, it has managed wrappers supported by Microsoft.
Programming DirectX is not trivial (I have no idea how it is with OpenGL) as you have to deal with stupid things like lost devices etc.
If possible timewise (and given the system requirements you can enforce before running your app) consider simply waiting for Windows Presentation Foundation which is in release candidate now.
|
|
|
|