Cathie 64's Q&A profile
Windows Forms How can I make update version for application which was signed with certificate now expired?
If I change expired code signing certificate to new one and publish updated application, client will fail to launch. And code signing fails if I try to use expired certificate. How can I make update version for application signed with old certificate If your certificate has expired you need to renew the certificate from Certificate authority like Verisign or say your company has a Certificate server. The new certifcate must have the same public/private key pair as the original certificate which was expired. Is this even possible when using a commercial CA like Verisign I've renewed Verisign code signing certificates many times and the process has always involved generating a new key pair. I don't ...Show All
Visual Studio Express Editions Automatically enter Text from one Text box to another as you type.
I would like to setup a Text Box that pulls the Textbox.text from 2 separte text boxes and then displays them in this textbox. For Example... TextBox1.Text = "Jimmy" TextBox2.Text = "Taylor" TextBox3.Text = "Jimmy Taylor" But the kicker is I want it to add the "J" in TextBox3 as I type it in TextBox1 ect. I tried a number of places but I am not sure how to describe this and I am not coming up with very good examples. Thanks in advance for any help. Form1 is not the form where the create button is. that form is called CreationProfile... Either way I believe that I see where you are going. My Dynamic form does not exist as a class only as a variable and no other classe ...Show All
Windows Forms User Settings not upgrading in ClickOnce
So, here's the situation. Some code I am currently maintaining has two separate implementations of user settings. We have a class that extends ApplicationSettingsBase in addition to the standard Properties.Settings which is defined through the settings tool in VS2005. The problem is that the settings currently stored in the ApplicationSettingsBase class are being upgraded automatically through ClickOnce, but the settings in Properties.Settings are not being persisted between versions. I am unsure why the original developer implemented both. I realize the short answer is to move those settings to the custom class that I need upgraded, but why aren't the other settings being upgraded Thanks. ...Show All
Windows Forms how to open ms word in windows application
in my project i have a requirement of opening the msword application and editing can any one help me how to solve this proble in windows application the previous link was a similar issue, while this is Understanding the Word Object Model from a .NET Developer's Perspective http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2003_ta/html/WordObject.asp enjoy:) ...Show All
Visual C# language arabic
i want when open form to become language arabic with example There is an English/ Arabic sample at http://www.microsoft.com/middleeast/msdn/cpsrt.aspx#6 ...Show All
Visual C++ Organizing a large project ..
I have a VC2005 Pro C++ project, which consist of a few solutions : Main solution is: MAIN_PROGRAM and other solutions are : STATIC_LIBS with projects: common_static_lib_1 common_static_lib_2 ... EXTENSION_1 with projects: interface static_stub static_utils dll_impl_1 dll_impl_2 ... EXTENSION_2 with projects: interface static_stub static_utils dll_impl_1 dll_impl_2 and a few more solutions with the same structure. I tried to merge all those solution into a one single solution for convenience, but finally, in IDE's ClassView and Solution View, I get a flat list with projects: 10 x 'interface', 10 x 'static_utils' so I can't tell one lib 'static_utils' from another one. I managed to organize Solution Vi ...Show All
Smart Device Development Forms switch
Hi there, I am currently using the code below in order to switch from the main form (Form) to another form (SetupForm). However once i switch back to the main form (Form) and try once again to switch to "SetupForm". I recieve an error. I dont think this is a great piece of code to switch between forms using button clicks, Could any one help (Code Shown Below)... private void menuItem1_Click( object sender, EventArgs e) { SetupForm f2 = new SetupForm(); System.Windows.Forms.Application.DoEvents(); switch (f2.ShowDialog()) { case DialogResult.No: // Previous break; case DialogResult.Yes: // Next break; } } Thanks KP After you called ShowDialog once, you should di ...Show All
Visual Studio Express Editions prank program on my friend :)
im making a program to pull a joke on my friend and i need a little help. the program's background is a picture of him and whenbuttons are clicked labels appear that say a 'smart' remark and other buttons appear. i am making it so that he has to enter a specific number in a textbox in order for the program's exit button to appear. if anyone can help to lead me in the right direction i would be incredibly grateful. thanks in advance problem: 1.) how to disable the ability for the program to be moved around on the screen. 2.) how to disable shortcuts such as Alt+F4 and double-clicking on the controlmenu .to minimize the mainform when it is maximized. 3.) how to disable Ctrl+Alt+Delete, or at least to change it to an inactive window when open ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotating an entity problems - (Not camera)
Hi, I'm trying to create a rotate(float pitch,float yaw,float roll) function for my entity class, (The camera one works fine) but despite it working sort of, the model locks up at certain angles(I.e becomes very stiff and hard to rotate, like gimble lock but worse) Here's the function in question [code] public void Rotate( Vector3 Rotation) { Matrix m1 = Matrix .CreateRotationX( MathHelper .ToRadians(Rotation.X)); Matrix m2 = Matrix .CreateRotationY( MathHelper .ToRadians(Rotation.Y)); Matrix m3 = Matrix .CreateRotationZ( MathHelper .ToRadians(Rotation.Z)); LocalRotation = m2 * m3 * m1; Update(); } [/code] I've tried every order possible, doesn't make any differenc ...Show All
Visual Basic ERROR: Unrecoverable build error when building Setup project in VS.Net 2005
Hello, Somebody, please help me out, I got "Unrecoverable build error" when building setup project. I try the solution in http://support.microsoft.com/kb/329214/EN-US/ but did not work out. I am totally stuck. Please, your any information, solution will be very much appreciated. Thanks! Yi-an This worked for me: Mergemod.dll is not registered correctly To resolve this problem, register Mergemod.dll again. Typically, Mergemod.dll is located in the following folder: C:\Program Files\Common Files\Microsoft Shared\MSI Tools\Mergemod.dll To register the Mergemod.dll, type the following command at a command prompt, and then press ENTER: regsvr32 "C:\Program Files\Common Files\Mi ...Show All
Visual C++ Int to Byte Array
Hey guys, Int to Byte Array, please! ! The byte array needs to be a fixed size of 4. array<Byte> ^byte = gcnew array<Byte>(4); and should be padded with 0x00's So if the incoming int = 18, I want the byte array to look like { 0x00, 0x00, 0x00, 0x12 } Thanks! See BitConverter.GetBytes Method (Int32): http://msdn2.microsoft.com/en-us/library/de8fssa4(VS.80).aspx ...Show All
SQL Server Master and SubReports
Hi All, I am new to Rs2005. I have 4 seperate reports, r1, r2, r3, r4,.....etc. I want these reports to be called in sequence in a Master report. I want to make all 4 reports 1 big report. Can this be done, and if so can somebody please point me in the correct direction. Many Thanks in advance. Kenny Many Thanks for you reply but i need to implement the first option as the master report will be my table of contents. Rs doesnt support TOC functionality so i have to work around it, by creating my own custom assembley and writing pageNumDetails to database, then finally calling the master report to extract data back from the database. I am having fun at the moment. Hopefully it will be do ...Show All
SQL Server Corruption of backup file on remote server
Dear all, What I want to do is to backup my database through the SQL script, when the backup is successful, the .bak file is saved in my local harddisk. After that, I used the XYRunProc to execute a "copy" command to copy the .bak file to a remote server. However, when I want to restore the database using the .bak on the remote server, I found that the .bak is corrupted. This problem does not exist if the file is copied to the remote server manually (click copy on local server and click paste on remote server). Do anyone know what's the problem of this This really made me very frustrated. Hope someone can help me, thank you very much! Regards, Strike Hi Strike, XYRunProc is an ext ...Show All
Smart Device Development .SDF file be converted to .CSV
Hello I'm new to this forum my question is Can a .SDF file be converted to .CSV using VB thank you See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=793284&SiteID=1 ...Show All
Community Chat Convert Money value to its Textual Representation
Code Competition I had answered a post Convert to letter format a number value and provided a response that went counter to the logic of the threads up to that point. The two code examples provided to the poster used enums. I posted with a title Enums make me E-Numb and provided a code sample that use no enumerations. One of the other poster's code sample was .Net but based on a previous process he had written in a non .Net language. He commented that he had run my sample and after 100K operations mine was four second faster. He requested that I add some features to the code and repost so he could retest. I accepted his request and that is what this is...a place to post the code away from the original post so it does not become an OTP fro ...Show All
