|
Hi,
create a 5-line method to do what a single statement can do? I suggest you (re)read Giorgi's and my earlier replies.
|
|
|
|
|
Hi!
It quite simple
If Key Not Exists Keep on Adding
Else If Exists RemoveKey and then Add
Thanks!
Develop2Program & Program2Develop
|
|
|
|
|
ohhhhhhh
wht an answer u ..... made out ..........
hoooooooooooo
fantastic 
|
|
|
|
|
ok
Develop2Program & Program2Develop
|
|
|
|
|
OK
Program2Develop & Develop2Program
|
|
|
|
|
I think it is easy to solve your problem with many ways:
e.g:
use the combination of your key and value as new key;
|
|
|
|
|
Hello , there.
I saw the C# sample codes its a Windows Live ID for Client DLL.
So I thought I could change delphi2007 win32 code.
I tried to use a auto making import feature.
Therefore component -> .net assembly import -> create unit
But I could not use functions well becasue there are just inferfaces and
connecting functions.
Can't Client DLL assembly .net dll of Window Live ID released use other language for win32?
Can i use this .net dll or not?
Thanks. Have nice days.
Thank you
|
|
|
|
|
Hello , there.
Whom
|
|
|
|
|
Hi,
I HAVE FIFTHY RECORD IN MY TABLE...
I HAVE TO SHOW IT IN DATAGRIDVIEW MULTIPLE OF 10'S...
FIRST 10,SECOND 10....
|
|
|
|
|
You probably already know how to do this, it's just because your caps lock key is stuck that the code won't compile....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
HOW WILL YOU DO THAT?
AND WHY ONLY 50?
|
|
|
|
|
i will do this using dataadaptor....
a have lot of records in that....
so ihave to see it in a particular format....(10,10,10)
|
|
|
|
|
Hi,
I’ve define a panel on my from and define the panel dock as none, and increase the panel height each time I add new item at the button of the panel, once the panel size exceed form size, the form create vertical scroll bar and its great.
The problem is that I can use the mouse in order to scroll down the panel but the keyboard is not working such as page up, page down, up key and down key
Any idea,
I look at the form and panel property and I didn’t find anything that could help
Thanks,
Ronen
|
|
|
|
|
If you have a scroll bar and the control has focus, then it will either just work ( which would have been my guess ), or you need to write code to handle it ( which seems odd to me, but if it doesn't work at all, that's probably the solution ).
Does the control have focus when you press the keys ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes,
Itry to use it option
at the panel_paint func
I write
if(panel1.CanFocus)
{
panel1.Focus();
}
and it still doesn't work
Ronen
|
|
|
|
|
Hi,
I was trying to Automate MS Excel, I want to check the validity of a COM Object in C#. For Instance, after releasing a sheet Object using "Marshal.ReleaseComObject(m_oSheets)" Sheet object is not equal to null. How to check a COM Object is valid or not.
Thanks in Advance.
Excel._Application m_oApplication;
Excel.Workbooks m_oWorkBooks;
Excel._Workbook m_oWorkBook;
Excel.Sheets m_oSheets;
Excel._Worksheet m_oWorkSheet;
Marshal.ReleaseComObject(m_oSheets);
if (m_oSheets == null)
{
......
}
|
|
|
|
|
KarthikonIT wrote: after releasing a sheet Object using "Marshal.ReleaseComObject(m_oSheets)" Sheet object is not equal to null.
Do the docs say it will be null, or is it your job to set it ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Docs says it will be null for C# Object but it is not null even after releasing the Excel Object with the following code "Marshal.ReleaseComObject(m_oSheets)". I don't want to set it to null. My question is "How do i know the particular Excel Object is valid or not".
Thanks for response
|
|
|
|
|
|
You can write a program that launches other programs, to embed those programs in your app is possible, but hacky and unreliable. I would not try it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I guess the simplest way to put it is that I need to figure out how to launch those programs. I've heard of images being able to be shown in pictureboxes...but I really will only have one image. All of the others are going to be some sort of application. How do I make it so when a button is clicked, the application will open. It doesn't have to open within the program though. Also, I'm going to be handing the program out on cds and I need to make sure there will be a way for the program to find the applications on the computer it is in. I'm thinking this can be done by just saving the application onto the cd as well.
|
|
|
|
|
jnwel wrote: How do I make it so when a button is clicked, the application will open.
Process.Start(@"path to application");
Yes, you need to know the full path, or just give a filename if the exes are in the same folder as your exe.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello everyone,
Any idea about how to get the content-type for a video file? I am writing an ASP.Net application which writes video binary content back to browser client to invoke related media player, and needs to fill-in the content-type field of response header.
thanks in advance,
George
|
|
|
|
|
You've been here long enough to know where the ASP.NET forum is. There's also tons of websites that list all the known content types. If you're asking how to know what the type is, the file extension is your best bet.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|