|
I am wondering if somebody can provid me a link to a web where i can do my
drawing, write text beside each drawing and put some arrows and a bubble thought.
I don't want to use visio I do'nt like it
|
|
|
|
|
What has that got to do with anything? use MSPaint... or, in a programming related manner, create your own drawing application... should be easy with your great understanding of programming
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Perhaps, I didn't properly explained my questions. I looking a software or web that provide the brainstorming functionality or kind of concept designing tools.
Ms-paint must be a joke for this purpose.
|
|
|
|
|
|
This is a C# forum.
Does your question have anything to do with C#?
Use google for things like this.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Have problem with getting check box in database checked when a current part of admin is approved or not approved here some code.
protected void ApproveAdvertiser()
{
//Add Code to add/edit/delete events (Possible case statement goes here?)
DataService ds = new DataService(int.Parse(ConfigurationManager.AppSettings["ConnStr"]));
Advertiser adv = new Advertiser();
adv.AdvertiserId = 0;
ind_approved.Checked = adv.Approver;
ds.approveAdvertiser(adv, ValuePassedIn);
Response.Redirect("Advertisers.aspx");
}
protected void BDelete_Click(object sender, EventArgs e)
{
if (RBLFunctions.SelectedValue.Equals("Delete"))
{
DeleteAdvertiser();
Response.Redirect("Advertisers.aspx");
}
else
{
if (RBLDelete.SelectedValue.Equals("Yes"))
{
//ApproveAdvertiser(true);
}
else
{
//ApproveAdvertiser(false);
}
Response.Redirect("Advertisers.aspx");
}
}
|
|
|
|
|
So, you meant to ask this in the ASP.NET forum then ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi
How I can get the Fields Database names of X Table ?
(Query or C# cod..... or both)
(i work with Access)
thank's in advance
|
|
|
|
|
Crossposting is frowned upon here. There are quite some examples on Google[^]. You'll have to wait until another forummember comes along who checks Google for you and posts the code here.
Good luck
I are troll
|
|
|
|
|
I can connect to the default instance of SQL using SQL MGMT Studio by providing the FQDN. The problem is I can not connect to the named instance. The problem is I can not find the syntax for providing FQDN for a named instance.
I am only using Mgmt studio to test because I am writing an app but the connection fails. I tried using IP Address and port number, fqdn and port number but no luck. I also tried by giving the instance name an alias and still no luck. I am using sql authentication.
I can access everything fine if I am on the network but outside the network is where the issues arise.
Any help would be appreciated! Googling did not help, neither did MSDN.
CodingYoshi
Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07
|
|
|
|
|
ConnectionStrings.com[^] has the answer. The Server part of the connection string should be something like:
Server=ServerName\InstanceName
or
Server=IpAddress\InstanceName
|
|
|
|
|
|
arnold_w wrote: What character(s) should my console application send to indicate end-of-stream
There might not be one. I suppose you could try sending 0 thru 255 and see if any work. Or you might follow the advice in the Remarks section of the documentation[^]
|
|
|
|
|
Thanks for your tips.
There doesn't seem to one character that indicates end-of-stream. It didn't work either to call Console.Out.Close() in the console application.
|
|
|
|
|
One thing that should be sufficient is for the console app to exit.
Closing the stream seems reasonable, but maybe a console app doesn't let you do that (except by exiting).
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I think you'll need to make another plan.
|
|
|
|
|
I solved it by writing a null character ( (char)0x00 ) when I am finished writing in the console application and the GUI investigates the received characters on the fly and stops when a null character is found.
Thanks anyway to everybody that replied to this thread.
|
|
|
|
|
AIM: TO DISPLAY IN CRYSTAL REPORT
typee ex1 ex2 ex3 ex4 date
NAME Q V Q V Q V Q V
RAVI 100 1000 200 2000 2 200 3 300 2/5/2009
PRAVEEN 0 0 0 0 0 0 1 1000 2/5/2009
IN SQL SERVER 2000
I HAVE TAKEN TABLE AS FOLLOWES
EMPID EMPNAME START DATE TYPE Q v
1 RAVI 02/05/2009 ex1 100 1000
1 RAVI 02/05/2009 ex2 200 2000
1 RAVI 02/05/2009 ex3 2 200
1 RAVI 02/05/2009 ex4 3 300
3 PRAVEEN 02/05/2009 ex4 1 1000
.. .. .. .. .. …
|
|
|
|
|
1. be specific
2. don't shout
3. Oh, I don't feally care.
This is Crystal Reports!!!
There are millions of sick children, malaria is rife, pig flu is spreding, my medication is wearing off and you expect help with CR? Get some perspective and tell your teacher your dog ate your homewirk,
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
And the question is....???
|
|
|
|
|
I need to play video from url. For example http://somesite/1.flv
Where should I start? Any simple example?
Thanks.
|
|
|
|
|
An flv file is typically played back by a swf ( a flash movie ). Buy or find an flv player, and embed it in your app.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Billy reports error 87, "The parameter is incorrect" on my x64 machine.
public struct INPUT
{
public int type;
public MOUSEINPUT mi;
}
public struct MOUSEINPUT
{
public int dx;
public int dy;
public int mouseData;
public int dwFlags;
public int time;
public int dwExtraInfo;
} [DllImport("User32.dll", SetLastError = true)]
public static extern int SendInput(int nInputs, ref INPUT pInputs, int cbSize);
...
input.type = INPUT_MOUSE;
input.mi.dx = 0;
input.mi.dy = 0;
input.mi.mouseData = 0;
input.mi.time = 0;
input.mi.dwFlags = 0;
input.mi.dwExtraInfo = 0;
SetForegroundWindow(hWndC);
RECT textWindowRect = new RECT();
GetWindowRect(hWndC.ToInt32(), ref textWindowRect);
// Put Cursor on 1st line of the text box
input.mi.dwFlags = (MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_ABSOLUTE);
input.mi.dx = textWindowRect.right - 30;
input.mi.dy = textWindowRect.top + 2;
resSendInput = SendInput(1, ref input, Marshal.SizeOf(input));
if (resSendInput == 0)
{
string errorMessage = new Win32Exception(Marshal.GetLastWin32Error()).Message;
MessageBox.Show(errorMessage);
}
The error occurs on this SendInput. I know that the dx and dy calculations are correct cuz the following statement works if i substitute it for the SendInput:
SetCursorPos(textWindowRect.right - 30, textWindowRect.top + 2);
This is mi at time of error message:
mi {MyBuddy.Form1.MOUSEINPUT} MyBuddy.Form1.MOUSEINPUT
dwExtraInfo 0 int
dwFlags 32770 int
dx 251 int
dy 526 int
mouseData 0 int
time 0 int
The whole idea of running 32-bit code on a 64-bit machine boggles my mind. After messing with this for about 20 hours ... I'm getting a headache!
|
|
|
|
|
Hi,
AFAIK there is a problem in your MOUSEINPUT struct: the extraInfo field is a pointer (IntPtr), not an int, and it takes 8B instead of 4B on X64.
BTW: there are a lot of such errors on the web, even on www.pinvoke.net
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thanks Luc. There is no question you are correct.
I was aware of the 8b vs 4b difference. I guess what i don't understand is how 64-bit machines can run 32-bit DLLs. Why is it that the 32-bit DLL is not expecting 32-bit pointers?
Sorry for delay in getting back here.
|
|
|
|