Software Development Network Logo
  • Visual J#
  • .NET Development
  • Visual C++
  • Windows Live
  • SQL Server
  • VS Express Editions
  • Game Technologies
  • Microsoft ISV
  • Windows Forms
  • Windows Vista
  • Visual C#
  • Visual Studio
  • VS Team System
  • Visual Basic
  • Architecture

Software Development Network >> Labutin's Q&A profile

Labutin

Member List

agencycontractor
Madhu B.A
XiaoFaye
Tony_I
rajeshduttamishra
almir_kazazic
Jim McCarthy
Georges Vidal
mecano14_bis
Arun Marathe
Dreamleo
ShootingStar
Richard Collette
WinFXGuy
polstar
jslabrie
Thelockguy
Miechu
JpFortin
WilsonY
Only Title

Labutin's Q&A profile

  • Visual Studio Express Editions regular expression in VC

    Dear all, As a beginner in Visual C programming I have some difficulties to deal with regular expressions and it’d be nice if you can recommend me a good reference to learn more about how to do such things in Visual C For the time being, I got stuck for searching about solutions concerning the following three cases in my application and any possible help will be appreciated! Case1: I’ve a CString CountryCode variable as following: CString CountryCode = “ Germany +49”; And I need to get the part +49 out of CountryCode and put it in CString PRE variable Case2: Similar to the first case I need to ...Show All

  • .NET Development Unsafe methods and managed code

    Dear all, I am re-designing an image/video processing package that I wrote a while ago to use C# for the GUI part such that development on that end is quicker. However, I want to keep the performance by having the processing run on unmanaged code. There are of course many ways to do this but the simplest that I have found was to have my interfaces declare an "unsafe" method that processing classes will override. However, I am not certain and couldn't find any info on it either, if "unsafe" also means that the code will run unmanaged. Brief code listing: C# public interface Processor {  unsafe void doStu ...Show All

  • Windows Forms Are there any issues with the Data Form Wizard

    Hello all, We are planning to use the Data Form Wizard in VS.NET 2005. Are there any issues with the Data Form Wizard in VS.NET 2003/ 2005 Thanks Jubin ...Show All

  • Visual Basic Hex function and Byte type declaration problem

    I have a program that is supposed to format data into 4 hex bytes and sent thru the serial port. The declaration section contains the following: Dim Addr, MsData, LsData, CkSum as Byte Dim Cmd1, Cmd2, Cmd3, Cmd4 as Byte Data is input to the Addr, MsData and LsData bytes and ChkSum is computed as (MsData and LSData are parsed from a single text box input (0 to 4095 range): MsData = Int(InputData / 64) LsData = InputData Mod 64 CkSum = Addr Xor MsData XOr LsData Xor &HFF Cmd1 thru Cmd4 are formatted as follows: Cmd1 = Format(Hex(Addr),"00") Cmd2 = Format(Hex(MsData),"00") Cmd3 ...Show All

  • SQL Server XML Source Error

    Hi, i am getting the following error in XML Source after generating the schema . if i click the columns Error at Data Flow Task[XML Source[1]]; There was an error setting up the mapping . The root element of a W3XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema' what could be the reseaon Jegan Hi Jamie Thanks for your reply. the problem got solved that was due to improper generation of schema. but again getting another error Error at Data Flow Task[XML Source[1]]; The XML Source Adapter does not support mixed content model on Complex Type ...Show All

  • Windows Forms Set Property via string (possible bug)

    Ok I have done up a bunch of code, but in my code I would aways have the size and location set directly I only needed to set other properies via string. I recently ran into this problem. Ok I pop a button on the page (winforms) and then to change the size of the form via button press with this code. Dim Sz As New Size Sz.GetType.GetPrope ...Show All

  • Visual Studio UserControl in tool box goes blank

    Hi! I am trying to write a add-in that will display a new dockable tool window. I am writing this in C# and using the shim control as decribed in the sample 'ToolWindow'. My UserControl is very simple, just a button and a tree control. My problem is that when I create the tool window as decribed in the sample: objControl.HostUserControl(asm.Location, "ClassViewAddIn.CW_Control");   the control starts OK, and I can switch between docked tabs. Now I want the control to know about the current application object as it was sent to the addIn when it started. So I create a new contructor for my control that takes an argument and use anoth ...Show All

  • Windows Forms Need help to simulate a mouse click: Urgent

    Hi I'm trying to test a Menu control that is developed in C# using NUnit and I need a way to have the menu dropped down thru code because the testing should not involve any manual operations. I used the following code that highlights the necessary menu item: this.Cursor = new Cursor(Cursor.Current.Handle); Cursor.Position = new Point(this.DesktopLocation.X+37, this.DesktopLocation.Y+37) ...Show All

  • Visual Studio Tools for Office usersettings & specific path

    I just want to save a few usersettings.  I added the necessary values into the Settings-part in the project-properties of my .net app. When using my application (an outlook addIn), those settings are saved to a user.config-file in a folder %Username%\LocalSettings\ApplicationData\CompanyName\....  \version\userconfig If I understand it right, the settings will be saved in another folder when the user installs a new version of outlook.  Is it possible to set the path of the user.config-file to a specific path.  So, when the user installs a new version of outlook, the settings-file still refers to the same path ...Show All

  • Windows Forms Form border

    Hi, I would like to display a help form using which is created using these lines Help help = new Help(); help.Show(); I would like this form to be without the top that includes the Form name and the minimize, maximize and exit buttons. Just the border like the one on the left, right and bottom sides. How would I do that  Also, is it possible ...Show All

  • Visual Studio Team System Code Coverage for Generic Classes

    Hi, Is there any known issue with enabling code coverage for Generic Classes After I enable code coverage for a Generic Class and run unit tests, the result that shows the code coverage is not displayed properly. The markers are a little off, in some cases, markers are on XML Comment section. Is there any other options that need to be enabled Any pointers would help. Here is my config :- Windows 2003 Standard Edition, VS 2005 Team Suite Dual Proc with 4GB RAM. Hi Krishnaswin, Enabling code coverage for a generic class should be the same as enabling code coverage for any other class. C ...Show All

  • Visual C# VS2005 Hidden Designer code

    Hi! I converted two old, rather big C# applications from VS2003 to VS2005. The new versions do not split my “forms” into “forms.Designer.cs” and “forms[Designer].cs” / “forms.cs”. It seams to me, I’ve got a spaghetti code: an automatic generated part and user developing part of code together in one file. As a result, it takes much moooore time to jump between the code and the form (layout), on the one hand, and contributes to get more “fragile” code with the automatic generating (VS2005 can refuse to design the forms if some errors happened appear in the user developing code), on the other. One thing more, the “f ...Show All

  • Visual FoxPro Importing Text File to a Table

    hi everyone, i hope somebody can help me figure out how to import a text file such as this one below and save it in a table. the 999.999.999.99 should be placed in the first column and the date should be on the second, the third which is the time should be placed in the third column, the GET should be placed in the fourth. 999.999.999.99 - - [01/Jan/2006:11:43:36 -0600] "GET /Images/Product/Sign_in.gif HTTP/1.1 thank you in advance in addition to my question, it should be done in codes and not by using an import wizard. any help will be greatly appreciated ...Show All

  • Windows Forms Sending data to a second dialog??

    Hallo! I have a Main-Window. From there I call a new modal Dialog, to whom I want to pass some data, see below: private void btn_Prj_anlegen_Click(object sender, EventArgs e) { myProjekt.setDataFromLV(x81_LV); ProjektAnlegenForm prjForm = new ProjektAnlegenForm( myProjekt ); prjForm.ShowDialog(); } But I get the following error: Inconsistent accessibility: parameter type 'Projekt' is less accessible than method 'ProjektAnlegenForm(Projekt)' The myProjekt-Attribute is private, the overloaded ProjektAnlegenForm-contructor is public. I don't understand, what's the problem here. As the ...Show All

  • Windows Forms Startup Banner Form in Visual C++ Express

    Hello All! I'm using Visual C++ Express and have the following question: What is the best method to implement a startup banner for a Form application It's my guess that the banner is just another form with no border style... correct I've figures out how to use a timed event. but which form event do I use it in Because apparently you can't call the Close() function in the Load event. Also, should Form1 be the banner or should I make another form the banner In main(), which call should I use to start the banner Should I use: Application::Run( gcnew Form1()); or Form ^ dlg1 = gcnew Form1(); dlg1->ShowDialog(); ...Show All

©2008 Software Development Network