|
off topic...I always wondering that how do you always remember to put smiley at the end of every message ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
you prefer it like this then?
Hi
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
nay, default setting is better
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi all,
Please explain How to create InstallShield in vs2008(C#.net 3.5 windows application)
itz very urgent to me
Thanks In Advance
--Naren
|
|
|
|
|
Dont ask all those ridiculous question out here.... If you have problem in executing any code or program, then you can post it here for rectification, but please dont ask for steps or How to..... Got it?
However, go to Google or MSDN and search for 'creating InstallShield in VS.NET 2008'. Hope this helps,
Happy Programming,
Rajdeep.NET
|
|
|
|
|
I tried there also but i did not get any articles thats why i posted here.
I hope you also dont know...
|
|
|
|
|
Lsn you idiot dont say orders... u want to answer then answer... you dont want to answer then keep your mouth shut...
NO need to be rude... u r a joke
|
|
|
|
|
SAPI 4 has a sample in Visual C++ 6.0, a demo program called multivce (tts to direct sound) that enable the speech output to be in 3d, so that the speech output can be sent to different speakers. Can this be done using C# ? If it can please tell me how.
Thanks
ETEDS
|
|
|
|
|
Hi all,
How can i create shortcut of my application on client desctop while installing time.
it is c#.net3.5 windows application.
Thanks In Advance
--Naren
|
|
|
|
|
If you are using a Visual Studio Setup Project, open the File System Editor. Right-clicking on the root node, you can select Add Special Folder->User's Desktop. Then, right-clicking on the folder content, you can select Create New Shortcut to add a shortcut to your application execurable file.
|
|
|
|
|
|
|
Hi
I need to transfer big file from PC to PPC - but I can't use RAPI.
My work is:
1. convert .sdf (big) file to binary file
2. transfer to PPC (through Webservice)
3. In PPC I convert from binary to .sdf file
the problem is, that in PPC I got an exception "out of memory" (in big file)
in small file - it work excellent.
what can I do ? maybe I can send in slices ?
thank's for any help
I work on C#
|
|
|
|
|
Hi all.
How can we use AutoCompleteCustomSource for a TextBox ?
I've searched Google , but I couldn't find anything special !
Could you guide me ?
Thanks in advance.
|
|
|
|
|
This will return an autoComplete TextBox with the Greek leters as custom source.
private TextBox CreateAutoCompleteTextBox()
{
TextBox result = new TextBox();
AutoCompleteStringCollection autoCompleteStrings = new AutoCompleteStringCollection();
autoCompleteStrings.AddRange(new string[]{
"Alpha",
"Beta",
"Gamma",
"Delta",
"Epsilon",
"Zeta",
"Eta",
"Theta",
"Iota",
"Kappa",
"Lambda",
"Mu",
"Nu",
"Xi",
"Omicron",
"Pi",
"Rho",
"Sigma",
"Tau",
"Upsilon",
"Phi",
"Chi",
"Psi",
"Omega"
});
result.AutoCompleteCustomSource = autoCompleteStrings;
result.AutoCompleteSource = AutoCompleteSource.CustomSource;
result.AutoCompleteMode = AutoCompleteMode.Suggest;
return result;
}
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Thanks you very much DaveyM69.
But I have a MultiLine Textbox and it doesn't work on it.
|
|
|
|
|
Yeah - the built in autocomplete doesn't work with multiline. You'll need to 'roll your own' control to do this I think.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Thanks anyway
|
|
|
|
|
I'm trying to get an output array from a function in an unmanaged DLL into my C# application. I've already done some googling on this topic and while I've found some articles, none of the suggestions seem to work.
The DLL has a function prototype of
int GetData(int ID, float* Results)
The int that is returned is the length of the array
Internally to send the results back it does
Results=new float[length];
In my C# application I use a delegate to get the function results:
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
private delegate int delGetData(int TagID, ref IntPtr Results);
I then try and retrieve the results and copy to a managed array doing this:
IntPtr data=IntPtr.Zero;
int Len=GetData(ID, ref data);
if(Len==0)
float[] results=new float[Len];
Marshal.Copy(data, results, 0, Len);
I always get an exception on the Marshal.Copy because the source (data) is null.
I have some control over the unmanaged DLL, any suggestions on how to get these to interface?
Thanks
modified 12-Jul-20 21:01pm.
|
|
|
|
|
|
Thank you I'll look into these
modified 12-Jul-20 21:01pm.
|
|
|
|
|
Hi,
If data gives a NullReferenceException, something must be wrong in the unmanaged code; here are some possibilities:
1. a silly mistake, say "return 0;"
2. your function pointer (accepting the delegate) not being defined as __stdcall
3. something going wrong with parameter alignment on stack (native long=32 bit, managed long=64 bit;
native char=8 bit, managed char=16 bit); this assumes your post was showing simplified code only.
4. IntPtr needs a 4 or 8 byte pointer, depending on Win32/Win64; your native code must match that.
As far as P/Invoke goes:
I prefer to allocate arrays, structures, objects on the managed side, and somehow pass their pointer to the unmanaged world; this has the advantage of being a managed object from the start, and not requiring any copying, and the disadvantage it is difficult to achieve when there are unknown values, such as the array size.
However, you are using a delegate to pass results, so you could instead use two delegates:
- one to inform the managed world about the array size, and ask for an array pointer;
- one to signal the managed world the array has been filled.
Passing a pointer can be done in two ways:
- with the "fixed" keyword; simple, unless the array must remain fixed afterwards, as in your case.
- with the GCHandle class; don't forget to eventually free the handle!
BTW: you were using the ref keyword, "out" would have been more appropriate.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
Thanks for the specifics! I think I can work with this
modified 12-Jul-20 21:01pm.
|
|
|
|
|
For to change is SSIS a package which should import much DBF files on a server, DBF different structure (I receive structure of each table and I create it on a server). A problem only with mappings. As in an existing package programm to make Mappings. Help please, it is very necessary. Soryy for bad English I from Russia. Thanks.
|
|
|
|
|
Hi
I have an excel project with two columns Number and name, where Number contains ('4114','8900','3311-123-2').
I read it in c# using:
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\temp\\test.xls;Extended Properties=""Excel 8.0;HDR=YES;""";
command.CommandText = "SELECT Number, Name FROM [Projekter$]";
string nummer = dr["Number"].ToString();
The problem is that '4114','8900' are displayed correct, while '3311-123-2' is empty.
Can anybody please help me?
|
|
|
|
|