|
|
Maybe you need to look at the CodeBase property. IIRC that is the location it loaded from.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
Hi. I tried all known solutions and now im turning to you.
I cant get the " in the string. Tried with:
\", @ "", """, Character converting, string converting, ... The only solution i see, is to create a label, which would be hiddent, but would contain text = ". I could borrow its text and use it in the code... but thats not it i'm afraid.
string xc = "Deklica je po " +Convert.ToChar(34)+ " Vodo šla.";
The result i get, by using any of know solutions is the same for anything : Result = \" String returns this.
Regards,
Matjaž
|
|
|
|
|
Hi Matjaz,
The following line of code will insert a double quote in your string value.
string xc = "Deklica je po \" Vodo šla.";
Hope this helps...
|
|
|
|
|
won't work. i get output: Deklica je po \" Vodo šla.
don't know why backslash in text.
Regards,
Matjaž
|
|
|
|
|
When you say output, you mean the watch window of the debugger..? The watch window of the debugger always shows the backslash before the double quote as an escape character but it will not display in your actual results. Try this by setting a label or textbox's text to the string value. You will see that there isnt a backslash in the text.
Hope this helps...
|
|
|
|
|
Yes, that helps a lot
I was debugging and i was always getting the backslash and just a minute before your answer, i tried the same sentence with a label - and it worked, like you said.
Thanks!
Regards,
Matjaž
|
|
|
|
|
Hi..
I need to draw a dotted Sine wave using GDI+ concept in Visual C#, please let me know which GDI+ Object i need to use..
replay asap
|
|
|
|
|
you need to get a Graphics object.
You can either respond to the paint event on the form and use e.Graphics, or you can create your own graphics object by calling CreateGrapics() on the control you want to draw onto.
Simon
|
|
|
|
|
hi.. Simon
I have created a graphics Object using this.CreateGraphics, now i need to know how to draw dotted Sine wave..
pls help me
|
|
|
|
|
Graphics.DrawCurve() and give it some Point 's.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
hi..leppie
Good evening..
i dont want to draw continuous Sine wave, i just wanted to draw dotted sine wave, can u suggest me some related links..
|
|
|
|
|
skvs wrote: i dont want to draw continuous Sine wave, i just wanted to draw dotted sine wave, can u suggest me some related links..
Then use a 'dotted' Pen. I dont know the exact property to set, but Pen (or Brush) have those options.
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
i already checked the properties of Pen and Brush, dotted pen is not there..
|
|
|
|
|
skvs wrote: i already checked the properties of Pen and Brush, dotted pen is not there..
You dont try very hard, do you?
What do you think the DashStyle property do?
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
no nothing like that, i didnt know where that option is...
Pen p = new pen(Color.Black).DashStyle
is still giving an error.
pls leppie
|
|
|
|
|
skvs wrote: is still giving an error.
The problem lies with your knowledge of C#. These things are normally discussed in the first few chapters of any C# book.
You need to do:
Pen p = new Pen(Color.Back);
p.DashStyle = DashStyle.Dot;
xacc.ide - now with TabsToSpaces support IronScheme - 1.0 beta 1 - out now! ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))
|
|
|
|
|
thanks leppie.
I have forgotten that, I'm New to C#. Sorry..
I ll try to Learn things as early as possible..
thanks
|
|
|
|
|
Dear Friends,
i have samsung j210 mobile and i want to connect my mobile with my PC.
i have checked the connection with programs given in this website.
i want connect my mobile using c# application.
how to do it??
Any likes? ideas?
Note: i have samsung PC studio software with this software, i could connect.
and i do not know why i could not connect my mobile with .net application.
With Love
Joe
|
|
|
|
|
You will need to talk to the manufacturers of the phone and ask them if they provide an SDK (software development kit). If they do, the SDK will be a collection of dlls that expose the various features of the phone to the PC as an API, you will be able to reference these and call whatever you want. If you're really lucky, the manufacturer may even directly have .net API which will save you some messy .net/c++ interop.
(If you have an SDK, the best place to ask will be the manufacturers forums)
Simon
|
|
|
|
|
Hi Everyone,
I have created an windows application in c#.net. Now what I want is that when I run the application, it should not be visible in Task Manager. Please help. Thanks in advance.
|
|
|
|
|
Hi astrovirgin,
I would say that this is not possible. Your application will run as a process on your system, so you will see the process in the task manager.
By the way, you are not developing some evil software, are you???
Regards
Sebastian
|
|
|
|
|
SeMartens wrote: not developing some evil software
That is first thing that comes to mind when someone asks this type of question. What is it they are developing that they want to hide so bad?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Why would you want to do that? The user should always retain control of their PC.
Simon
|
|
|
|
|
Its not possible. Any application running will show as a process in task manager. And I agree with Simon, the user should always be in control of his/her pc. Would you not want to be able to kill something when it lets your pc freak out..?
|
|
|
|