|
I think the problem is that the login failed for user 'sa'. you should look at that.
Kay Lee
-Just your average coder
|
|
|
|
|
hi
any plz help me
how can i send data to parallel port in VC#.Net 2003 and framework 1.1
prem
|
|
|
|
|
There's no built in support, I believe that the file inpout.dll is what you need ( that's what I used to read a custom controller via the parallel port in .NET 1.1 )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hello,
here code project it self has many articles on that.
just chek it out
nishu
|
|
|
|
|
public class PortAccess
{
[DllImport("inpout32.dll", EntryPoint="Out32")]
public static extern void Output(int adress, int value);
}
then, use PortAccess.Output(***,***) to send data to parallel port.
wang
|
|
|
|
|
Hi all,
Can anyone please direct me to some links for sharepoint site (WSS) creation from C# code.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
http://technet2.microsoft.com/windowsserver/WSS/en/library/700c3d60-f394-4ca9-a6d8-ab597fc3c31b1033.mspx?mfr=true
|
|
|
|
|
thanks for the link but i could not find anything related creation of WSS site from C# .Net code.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
They don't have google where you live ?
Such a statement is database specific, I believe.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hello there,
either u reply me with the solution or i advise u 2 keep silent and dont reply me by these replies ok
Thanks alot
Hamody
|
|
|
|
|
You've obvioulsy mistaken me for your employee. I am not, and therefore, you have no right to complain if I don't give you what you hope
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
In order to help you we need to know what the database technology you are using.
|
|
|
|
|
i got it
the solution is:
select so.name from sysobjects so where so.type='U'
i dont need ur help and thanks to the others
Thanks alot
Hamody
|
|
|
|
|
I'm glad you worked it out. Remember, like I said, this is a platform specific solution.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Native C# Protection (NCSP) is a protection tool (not obfuscator) for C# 2.0 applications.
The goal of NCSP is to produce trial versions with limited functionality of C# applications.
With the correct NCSP Key these applications work as registered versions.
NCSP uses only NATIVE (but peculiar) TO C# means, i.e. NO EXTERNAL PROCESSING
of C#-produced executable.
NCSP protects NOT CODE, BUT DATA needed to run the application.
In case of C# applications DATA IS A CORRESPONDENCE BETWEEN EVENTS AND EVENT
HANDLERS.
The difference between trial and registered versions produced by NCSP is based
on use of DIFFERENT EVENT HANDLERS FOR TRIAL AND REGISTERED VERSIONS of the
protected application. The trial version uses one set of event handlers, while
the registered version uses another one.
NCSP protects forms of C# project on the source level, i.e. NCSP temporarily
MODIFIES THE SOURCE CODE, then, AFTER RE-COMPILING, THE APPLICATION IS
PROTECTED.
During the process of protection NCSP MODIFIES THE SOURCE CODE of the form in
such a manner that after re-compiling each protected event has no event handler
assigned. During the protected application start TRIAL EVENT HANDLERS ARE
ASSIGNED TO THE CORRESPONDING EVENTS. If valid NCSP Key is
provided then REGISTERED EVENT HANDLERS REPLACE THE TRIAL ONES.
The protected application DOES NOT USE a call of some CHECKING ROUTINE to
choose which set of event handlers to use. Instead it USES DATA containing in
NCSP Resource and in NCSP Key TO ASSIGN REGISTERED EVENT HANDLERS TO THE
CORRESPONDING EVENTS.
NCSP trial version may be downloaded from http://www.posolsoft.com/files/NCSP2/NCSP.zip
More information about NCSP may be found at http://www.posolsoft.com/NCSP
Oleg Subachev
oleg@posolsoft.com
|
|
|
|
|
Sounds awesome. If your product is so great, then you should consider contacting the site admin to organise to post advertisements on this site. Spamming the boards like this will lose you more business than it gains you.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi all
in my application i need to desply output in CommandPrompt..
and also i need to take the commands which r desplayed in command prompt..
please can u let me know.
How to desply Output in CommandPrompt....In WINDOWS APPLICATION
Thnk in advance
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Hello,
Means can i know why do you want to do that?
nishu
|
|
|
|
|
i am developing this for my client where in which,
a leser beam interact with the device which is connected to system, i need to take the input from Console(command prompt)--which is a partial output of my appliatin
and depending upon the input(which will be given by user in cmd prompt) i need to frame tables,waves etc...PRogramatically
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Hello prashanth ,
I dont know If I am getting correctly,
means your application is interacting with one seperate console window from which you have to take input and to the same window you have to show the output correct??
nishu
|
|
|
|
|
its not exactly...
see in my application i have a submit button in my window form,
when i run my application.i mean in run time when i click button --COMMAND ) should be capable of taking input which typed in cmd prompt.
got?
please help me...nishu
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Prashanth,
I got now ,but just one question more only one console window is there during runtime of your application?????i willl reply soon the solution .
nishu
|
|
|
|
|
Hi nishu,
did u found the solution...
here i am with one more requist...
please tell me, where do i get a tool?
I Want a tool which takes input values from the developed Commandprompt.
and this tool should be capable of convert these values in to sin waves,CW, or gauges..etc forms.
I hope u got my requirement. please help me with reference.
thnx in advance,pashi.
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Following is the code ....
But problem is that ir works only in framework 2.0
System.Diagnostics.Process pr = new System.Diagnostics.Process();
pr.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
pr.StartInfo.FileName = "cmd.exe";
pr.StartInfo.UseShellExecute = false;
pr.StartInfo.RedirectStandardInput = true;
pr.StartInfo.RedirectStandardOutput = true;
pr.Start();
pr.OutputDataReceived += new System.Diagnostics.DataReceivedEventHandler(pr_OutputDataReceived);
pr.BeginOutputReadLine();
System.IO.StreamWriter swWriter = pr.StandardInput;
swWriter.WriteLine("echo SomeTextHere\n");
swWriter.Flush();
...
//Define a delagate function
delegate void SetTextCallback(string text);
//Define a function for setting
void SetText(string text)
{
if (this.textBox1.InvokeRequired)
{
SetTextCallback d = new SetTextCallback(SetText);
this.Invoke(d, new object[] { text });
}
else
{
this.textBox1.Text = text;
}
}
void pr_OutputDataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e)
{
//event fired and u have data use it thread-safe
SetText(e.Data);
}
Rahul Kulkarni
|
|
|
|
|
hi,all
how can i drag a line with mouse from a point to another
and it is extended whenever i drag it with mouse
thanx
|
|
|
|