|
Thanks alot for your help
|
|
|
|
|
|
|
Hi all,
My question is simple, I think!
How can I force Upper Case on cell value inputated in a DataGrid?
Thanks a lot
bye
Albe
|
|
|
|
|
Take a look here[^]. There is a LOT of stuff for datagrid up there.
Regards,
Polis
Can you practice what you teach?
|
|
|
|
|
Hi,
I'm not much familiar with Foxpro files. I'm just about to read a bunch of dbf files. The problem is that I can open some of them in visual studio.net, but when trying to open the rest, I encounter the following error:
External table is not in the expected format. (Error 3274)
The format of the table has changed since it was linked. Link the table again, and then retry the operation.
I can't even open those *.mdf files in the Microsoft Access because of the same error that occures. Do you know why it is like this, and how I can solve it?
Thanks in advance
-Maysam
|
|
|
|
|
External table is not in the expected format. (Error 3274)
The format of the table has changed since it was linked. Link the table again, and then retry the operation.
this error ussually because the database link in foxpro in broken.
u can to to connect to indivudual table instead of database.. use use the foxpro table driver in ODBC there..
|
|
|
|
|
Is there a possible way to user print merge in C#? This is my problem we are having some network issues and our jobs are not running properly, the hang up is from our parent company. This is causing headaches for me because the SQL job doesnt run hence no data to merge.
I know how to call the data I need and mold it. I need a way to be able to print merge everything in this possible dataset.
Any ideas??
Thanks
|
|
|
|
|
Hi to all,
I want to ask how to transfer all inputs from a C# program to the hyperterminal.. thanks a lot!!
Regards,
shemay
|
|
|
|
|
HyperTerminal doesn't expose an API or object model. You'd have to "stuff the keyboard" to put anything into it's window. A problematic method at best.
What are you really trying to do with this?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
You will have to hook into the program and investigate the invidual controls.
Its pretty easy but, you'll have to learn that on your own. Many people might use the advice for the dark side, young patawan.
I'll give you a hint: It has to do with
SetWindowText
You must call an API and use C++ calls only
You on your own.
I'm not an expert yet, but I play one at work. Yeah and here too.
-- modified at 20:23 Sunday 11th December, 2005
|
|
|
|
|
how do you get the result back, like the string, the tostring function is deprecated and i don't know how to retrieve the name any other way, help ???
IM PROUD TO BE A GMAIL;
|
|
|
|
|
tom_dx wrote: how do you get the result back, like the string, the tostring function is deprecated and i don't know how to retrieve the name any other way, help ???
Do you mean the filename of the file you selected in the file dialog?
Why not use the FileName property?
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
hello..
i need to save videos of all available extensions '.avi' '.wmv'... etc
i already have the videos in a folder is there a way to copy them .
thank you...
|
|
|
|
|
You need to save them? Or copy existing files? You can copy files using System.IO.File class and the various static methods contained within it. For saving files, you have a number of options available to you (though nothing in the .NET framework class library). You could probably use the Window Media SDK or perhaps even the Managed DirectX dlls. Or, try the DirectShow managed wrapper available on CodeProject.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Bought a House!
Judah Himango
|
|
|
|
|
Or just File.Copy() since he's not going to modify the files.
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
|
Hello!
I working on a project to import c++ openCV into c#.
The problem is...this:
unsafe private static extern int function1(byte* bitmap, string haarclassifikator);
thats my call to an external dll file, the first parameter MUST be a pointer to a bitmap in memory.
unsafe<br />
{<br />
byte* bitmappointer = (byte*)Convert.ToByte(MyImage);<br />
function1(bitmappointer, classificator);<br />
}
doestn work.
my question: how can i convert from a bitmap object to a pointer?
|
|
|
|
|
Forgotten one thing:
the code compiles, but:
Unable to cast object of type 'System.Drawing.Bitmap' to type 'System.IConvertible'.
|
|
|
|
|
Try the following code
public void CallExternalMethod(Bitmap map)<br />
{<br />
System.IO.MemoryStream stream = new System.IO.MemoryStream();<br />
map.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp);<br />
byte[] rawBytes = stream.GetBuffer();<br />
<br />
unsafe <br />
{<br />
fixed (byte* rawPointer = rawBytes)<br />
{<br />
function1(rawPointer, classificator);<br />
}<br />
}<br />
}<br />
Jared Parsons
jaredp@beanseed.org
http://spaces.msn.com/members/jaredp/
|
|
|
|
|
|
If you have a library use PInvoke and give the DLLImport attribute.
To get a pointer use IntPtr.
You might do that instead having to all the unsafe declarations
I'm not an expert yet, but I play one at work. Yeah and here too.
-- modified at 20:29 Sunday 11th December, 2005
|
|
|
|
|
I typically prefer IntPtr's to unsafe code myself but the poster wanted a real *. For the curious though, here is the example with "safe" code.
<br />
[DllImport]<br />
public static extern bool function1<br />
[MarashalAs(UnmanagedType.LPArray)]byte[] data,<br />
int classificator);<br />
That's not 100% correct though because I don't know the return type and I'm not sure what type classificator is.
Note: By "safe" I mean the opposite of unsafe. I'm not implying this code is secure
Jared Parsons
jaredp@beanseed.org
http://spaces.msn.com/members/jaredp/
|
|
|
|
|
I was wondering if you can help me. I am trying to get a number pad to show up in a text box. EX. if you click on button 1 then the number 1 will show up in the text box. I have already created the form
|
|
|
|
|
In the button event for each of the buttons set (or append) the relevant number to the Text property of the TextBox .
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
private void Button1(object ....
myText.Text += "1";
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|