|
1. I had to put my DDL statements in a text document.
2. Make sure your statements are followed by /
3. Save it to YourScriptFile.sql
4. Create a batch file in which you are calling sqlplus YourScriptFile.sql
5. In your windows form, call that batch file using a process.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Hi
I need to create a temporary unique id on a offline computer.
The item will get a unique id (in our server, not worldwide!) when it connects to the server. But how do i ensure that a temporary id is unique until i get access to the server?
The only decent solution i have come up with is to use DateTime.Now.Ticks. But that could go fubar if the clock is changed.
Is that another better way to do it?
The id doesn't have to be globaly unique, just unique for the active computer.
"Life would be alot easier if i only had the sourcecode!"
|
|
|
|
|
Why don't you use Guid.NewGuid() ?
I know you don't really need GUID, but it won't hurt, will it?
|
|
|
|
|
Use a Guid. It is designed for this purpose. Sure it is globally unique, but creating an ID that is only locally unique is more complex so why bother.
|
|
|
|
|
Thanks for the help!
A guid is abit long but as you say it's to much of a bother to come up with another solution
|
|
|
|
|
Hi friends
I wrote a program that create a thread to listen a port in network. but in my thread I can't change my windows form element like lable. What is the problem?
|
|
|
|
|
Hello,
If you want to change the GUI from an other thread, you have to use Invoke[^] and InvokeRequired[^]!
All the best,
Martin
|
|
|
|
|
The problem is that form elements can only be manipulated from the thread that is running the UI. There is a method called Invoke on the form that you must use to do this from another thread. The docs for this method contain a reasonable example.
|
|
|
|
|
Another way to avoid using invoking and delegates...is to set the
CheckForIllegalCrossThreadCalls property to false, although it's better to use invoking
Do your best to be the best
|
|
|
|
|
i m developing web application in which i m sending and receiving sms through mobile connected with a cable. but sms is not receiving.
|
|
|
|
|
You asked the same question 2 hours ago and on neither occasion have you provided anything like enough information to give you any help.
|
|
|
|
|
How do I write a statement that calls the Focus method of a control named txtLastName using C#
|
|
|
|
|
txtLastName.Focus();
Becoming Programmer...
|
|
|
|
|
Either buy a book, or stop trolling.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
The process of creating an instance of a class is called?
|
|
|
|
|
Instantiation?
Paul Marfleet
|
|
|
|
|
this is very rubbish do send some what acceptable questions...:->
|
|
|
|
|
What the hell are you talking about?
Paul Marfleet
|
|
|
|
|
do post info regarding developers perspective..
its not like school boy like attitude...
|
|
|
|
|
Sounds like a school boy's homework question though.
|
|
|
|
|
I have no idea what you are talking about. I answered the original poster's question, although it wasn't much of a question. What is your problem?
Paul Marfleet
|
|
|
|
|
better shut your mouth
|
|
|
|
|
hi all,
Is it possible to display an image in all buttons in a
datagridview(Windows Forms) button column?
if yes,
can anybody help me how to do it?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
I have a Class Library in which i have lot many functions to implement my service but the problem is maximum of functions are Having similar names and similar parameters etc. when i want to use any of these functions i am some what confused which one is the one which exactly i shoould use. So is there any way to "Provide the Description of the function" along with the Prototype of the function which comes as default due to intellisence of MicroSoft.
I tried the [Description("xgdfgdfg")] attribute above the function defination but no use.
Can any body know how to get the user defined description for a function
Thanks in Advance.
|
|
|
|
|
Hi,
just type /// before your function name , VS will then build some 'comments tags' you just have to fill.
such as
///
/// my summary for intellisens
///
/// <param name="a_parameter" />my param descr. for intellisens
Hope it helps
|
|
|
|