win form setup creation???? you meen wix setup or you are writing your own ?!?!? there are definalty missing information. in wix you can set the banner image using the old one by just renaming the file ;)
freakyit
Posts
-
Cant find BannerBitmap property ( win form setup creation ) -
Socket Connectionmay be the server will not send data back to the client?!? this piece of code is not very helpfull for a good answer. first your XML you want to send is corrupt! take a look at the xml-declaration >. sencond one is that you will read data from the stream without knowing whether data is available or not ^^ use the search function to take a look at articles that work as server/client app..
-
problem using dataRelation in dot netthan objDA will be null the exception is NullReferenceException that implicit says that one object is null at the run time set breakpoints and check if all vars you use are not null. bless
-
problem using dataRelation in dot netLine 1222: objDA.Fill(ds); may objDA is null or ds ^^
-
Should not end my Application processes via Task Managerhi, the easy way would be to disable the taskmanager for the user using policies.. it sounds like the user will have no ability to to certain changes on the system either, so would be using policies the right way if not it would be a way too =)
-
Problem with Send Keys to background processhi, i have in mind to use the lPama for the modifier controls
PostMessage(hWnd, WM_KEYDOWN, VK_F, VK_ALT);
greetz
-
Superman if-clausecommited :)
-
Superman if-clausejust looked into the code of an project made from a workmate. may be he thought superman would fly in and delete the folder between the two if-clauses xD
if (System.IO.Directory.Exists(dest))
{
if (!System.IO.Directory.Exists(dest))
{
System.IO.Directory.CreateDirectory(dest);
}fullDest = dest + fileInfo.Name; // what is if Directory seperator is missing? xD
}
-
SendMessage to control with non-fixed ControlIDthe search is your best friend :) try searching like TextBox Text Win32Api
-
User control Namehere i hope it works :) and will be published :) UserControl prompts for ControlName after drop in the Designer.[^] kind regards, freakyit
-
How to invoke native MyFunction(MyStruct* myStructs, unsigned int nMyStructs) from C#?you need to rewrite the MyStruct in C# using the MarshalAs attribute at the vars declaration. something like above :) its only a example ^^ you need to take a look at the mapping of your C byte* to C#..
[StructLayout(LayoutKind.Sequential)] unsafe struct MyCSharpStruct { public int size; public IntPtr data; [MarshalAs(UnmanagedType.ByValTStr,SizeConst=32)] public string MyString; // C -> unsigned char MyString[32]; } [DllImport("MyStruct.dll")] static extern void MyFunction(ref MyCSharpStruct myStructs, unsigned int nMyStructs);
-
User control Namealright i have the solution worked out!! :) but you need to wait till i am at home ;) i will write an article about your problem because this is very interesing stuff :) so please be patient.. greetz all over the world
-
User control Namehmmm i have to agree with you every time a promting for the name would suck :) actually you need to write an addin for the IDE (VS oder #Develop). The addin should override the INameCreationService of the DesignerHost. then you can create a name the "normal" way or prompt for it :) sooo far ;)
-
User control Namehiiiii, for me it sounds you developed your own Designer ?!?? in that case you need to implemented the INameCreationService. :)
-
How to join 2 string[] objectsSystem.Collections.Generic.List<string> lst = new System.Collections.Generic.List<string>(); lst.AddRange(s1); lst.AddRange(s2); string[] s = new string[lst.Count]; lst.CopyTo(s); lst.Clear(); lst = null;
-
Hiding a Button in a DataGridViewhi man, this could be a possible solution but never tested.. In the CellValueChanged event you have to check your specified cell against your condition and than try:
dataGridView1.Rows[rowIndex].Cells[buttonCell].ReadOnly = true;
ordataGridView1.Rows[rowIndex].Cells[buttonCell].Frozen = true;
hope i could help :) -
Pinvoking a non WIN32 API under VB, cant get handle to printerhmm the lib returns an error code so every thing goes right for me. if the function can't be called you will get an exception during the call! that means there will be no return value! check what exactly ZBR_ERROR_GETPRINTERDATA_ERROR means. you may have other errors that cause to an ZBR_ERROR_GETPRINTERDATA_ERROR by calling your pinvoke sig... blessssss it :)
-
Pinvoking a non WIN32 API under VB, cant get handle to printerdid you try my example code ??? i am marshalling the string into a LPSTR ;) in the example. greetz
-
AD-User must change password at next logonsure he wants copy'n'paste
-
Pinvoking a non WIN32 API under VB, cant get handle to printerdo you use VB6 oder .net ?? try the following pinvoke sig:
declare function ZBRGetHandle lib "ZBRPrinter.dll" (ByRef hPrinter As IntPtr, <System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPStr)> byval szBuffer as String, byval printerType As IntPtr, ByRef err As Integer) As IntPtr
does complile but i don't know if this would solve your problem :)