Software Development Network Logo
  • SQL Server
  • Visual Studio
  • VS Express Editions
  • Architecture
  • Visual C++
  • Microsoft ISV
  • Visual C#
  • .NET Development
  • Visual J#
  • Smart Device
  • Visual FoxPro
  • Windows Vista
  • Visual Basic
  • Windows Forms
  • Windows Live

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

lgemcor

Member List

BAMoreno
Karry
musosdev
JohnnyTheDon
SDCripps
mjy78
tvu4251
zhili
jam123jam123
mvarblow
Prometheus666
The Edge also develops software
hobscrk777
Velan
Polizei
brsphere
IceX
Large_Goose
Sven Beneke
Asheesh
Only Title

lgemcor's Q&A profile

  • Visual Studio Express Editions working with Auto Complete

    Hi, Here is the situation that happened. I tried to use Autocomplete source for a combo box( or list box ). for ex. i have values like this ( Customer 1 :- Jane,Tamil Nadu,India and Customer 2 :- Jane,Karnataka,India ) when assigned the autocomplete source for it, from the list source, I got only one value ( i.e., the distinct customer. only one Jane ). and Iam unable to choose the second customer . Is only distinct values only will be retrieved from the lists of elements in the auto complete . Please Clarify . Thx and Regards. Mohan Raj K. Hello ! Please Reply. I don't u ...Show All

  • Windows Forms Max Size of a Form

    Hello friends, i am using VS.Net 2003. I need a Auto scrolling in a form, so that i have change the AutoScroll property to True. But i can't change the size of the form larger than the available screen. Please help me. Thanks in advance. Yuvaraj After setting AutoScrollMinSize height and width to 1, that problem got solved. Thank You. Yuvaraj ...Show All

  • Visual C# C# audio input method

    Hi there, I know that with C# you use interop.speechlib.dll to ask your program to read out text, however, is there anyway we can use microphone to tell our c# program to execute some procedures Any help will be much appriciated. Thanks With SAPI5.1 interops you can also use speech recognition engine. Take a look on http://www.microsoft.com/speech/default.mspx  and http://www.microsoft.com/speech/download/sdk51/ BTW, with the next release of SAPI 5.3 (part of Windows Vista) it will be possible to use speech technologies without interops  in managed code: http://windowssdk.msdn.microso ...Show All

  • Visual Basic Running VB 2005 Programs on other computers

    I'm having a problem running my VB 2005 programs on other computers with VB 2005. My programs run fine on the computer I wrote them on, but when I run them on any other computer, my forms load wrong. All the buttons on my forms are in different locations and the form is a different size. I'm not sure why this is happening or how these values are changing. Can anyone other any assistance "Load wrong", gives us very little information to go on. VS2005 programs/assemblies require the framework v2.0 to to run. Have you insured the framework in on the other systems ...Show All

  • Visual C++ vc2005: strcpy(char[100], CString); doen't work. Why?

    Hi, Recently I updated to Visual Studio 2005 (from 2003) In VC++2003 this code worked: char SuperString1[100]; //m_supervar is a member variable associated with some Dialog Edit contron (CString) strncpy(SuperString1, m_supervar, 5); This does not compile in VC++2005... the same problem with strcpy... So question is how to convert CString to char in VC++2005 Thanks in advance Serhiy I am sure it compiles, but you are probably talking about the warning. In VC++ 2005, the CRT string functions have been deprecated. I'd suggest that you update your code to use the new secur ...Show All

  • Visual C++ How can I declare 'out' parameter in C++/CLI?

    In C++/CLI, a tracking reference as method parameter void method(int% val) { ... } is equal to C#'s "ref" parameter: void method(ref int val) { ... } Is there C++/CLI syntax equal to C#'s "out" parameter void method(out int val) { ... } ...Show All

  • Visual Studio Express Editions Is it possible to connect to SQL Server Express?

    From the SQL Server Express web site it claims that you can use Visual C# Express 2005 with SQL Server Express 2005, but I have yet to find a way to make that happen. When I try to select a data source the only options I get are Microsoft Access Database File Microsoft SQL Server Database File When I try to select the latter, I just go on a wild goose chase where it claims that I don't have credentials with the server. When I use the regular version of Visual Studio 2005 at work, I also get the option Microsoft SQL Server Which lets me connect to SQL Server Express 2005 no problem. What is a "Microsoft SQL Server Datab ...Show All

  • Visual Studio Express Editions Is there a "Setup" project available in Express editions?

    Maybe a dumb question, but I have Visual C# Express 2005 Beta 2 installed on my computer but it seems like it doesn't have a Setup kind of project. Isn't it available in Express editions How else, except for the Publish feature (which doesn't work as well), can I deploy my applications Resorting to 3rd party software doesn't sound too good to me. Is it something wrong with my installation It would be a pity not to include in VS 2005 such a tool. Hi A.L. Forgot to answer your other question: Setup projects are available in in the VSTS SKU. -Patrick ...Show All

  • Visual Studio Express Editions StreamReader problem

    I need to find out how to display the last 128 characters of a text document. I've tried using StreamReader to get the whole file but I only need the last 128 characters. Here is my code so far: <VB.NET 2005> Private Sub Button12_Click_1( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click If ListBox1.Text = "" Then MessageBox.Show( "No File Selected" , "Error" ) Exit Sub End If Dim sr As New System.IO.StreamReader(ListBox1.Text) Dim WholeFile As String = sr.ReadToEnd() Dim LastDigits As String = "" Dim Index As Integer ...Show All

  • Visual Basic PropertyGrid problems

    Hi, I am currently using the propertygrid control to browse an object containing many properties of different types, some being structures which contain properties of their own. The first problem is that when I create a class inheriting from ExpandableTypeConverter, and use this class as the type converter for a property in my base class, I cannot find a way to unbold the display text using the DefaultValue attribute... The second (more important) one is when I have one of these property (of the type of a user-defined structure) and I try to edit a property of the base property it does not change...The base property get m ...Show All

  • Visual C# Inheritance and custom events

    I have a class which contains a public event: public event EventHandler HasChanged; This class is inherited by another class, but the child class does not seem to be able to use the event. The following code: if (mInitialValue != "" ) { if (mInitialValue != this .textBox1.Text) HasChanged( this , e); } Results in the compile error: The event '[The child class name].HasChanged' can only appear on the left hand side of += or -= (except when used from within the type [The parent class name]) Yet if I define the event in the child class it complains that it is hiding an inherited event. What is ...Show All

  • Windows Forms Form Filter

    Hi there, How can I open a form to display only those records related to the main form Thanx in advance Thanks Michael for your response.But unfortunately my problem is slightly more complicated.This is how it goes... I have a class which when called in a Form1 must filter Form2. For eg based on a document number Form2 has to display information pertaining to this number. I dont have a clear idea of how to go about it .Your help will be highly appreciated. ...Show All

  • Visual Studio Express Editions Any way to simulate a key being pressed?

    I'm wondering if there is a way to simulate a key being pressed, such as ENTER. I need to do this without targetting a specific window, just simulate as if somebody hit enter on the keyboard. I cannot target the window (or more like I don't know how) because I'm not creating the window. It's a print dialog that is created by the FaxServer object. Any ideas I know that simulating enter would certainly not be the best answer (without targetting), because any number of things could happen to screw it up, but it's my last resort. Thanks. What about SendKeys.Send( "{ENTER}" ) ...Show All

  • Visual Studio Obtain log file contents?

    After my MSBuild project completes, I want to be able to email the results of the Build to my developers.  I have a <OnError ExecuteTargets="MyBuildFailedTarget"/>   and am able to get my EmailTask to run from the MyBuildFailedTarget, but I need to access the contents of the log file so I can include it in the email I send. I'm specifying a log file name on my MSBuild commandline like this: MSBuild.exe /l:FileLogger,Microsoft.Build.Engine;logfile=MyBuildLog.log So the question is: From within the project file, how do I get the name of the log file specified on the commandline   Or alternatively, how can I access th ...Show All

  • SQL Server How to connect database under Windows Authentication?

    Hi, all. I develop my JDBC program under SQL SERVER Authentication using Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); Connection con = DriverManager.getConnection("jdbc:sqlserver://dataserver:1433; DatabaseName=database", username, password); It works well. After my company update the database to SQL SERVER 2005 using Windows Authentication. My program sucks. I want to know the format of JDBC connectivity code for Windows Authentication, as similar as the code I post above Anyone can help me Hi there, As far as I am aware, the SQL Server 2005 JDBC driver does not currentl ...Show All

©2008 Software Development Network