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

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

Rafer

Member List

thompson16
Larry Smith53314
Drummos
Justin Butterfield
MVP User120890
Amrita Bhatia
AntonioCS
Deepthi_Pinapala
srujan88125
emmarussell
Nasyua
nentjes
Rob Claisse
Imran Shaikh
Paulaps
InvalidSynTax
Thomas Jakobsen
ipaqlinux48
Will Wilson
midavis
Only Title

Rafer's Q&A profile

  • Visual C# Low Performance

    Why this code does not take all the performance that a P4 can take The CPU Usage does not take more than 40%, and this code is very slow. It’s a file that contais 100000 lines, and I use o imports each line into a database table. private void ImportarLista( string f) { progressBar1.Maximum = Convert .ToInt32( FileSystem .FileLen(f)); SqlCommand cmd = new SqlCommand ( "Inserir_Peca" , cnTemp); cmd.CommandType = CommandType .Store ...Show All

  • Windows Forms Customizing DataGridView Selection Behavior

    I'm currently trying to use a datagridview to allow the user to select multiple items from a table. While the multiselect functionality will work for what I want. I would prefer to have the program only change the selection of the current cell when a cell is clicked. Or to basically have the program act as if the user was always holding down the Ctrl key for selection purposes. Additionally, I would prefer if I could also restrict select ...Show All

  • Windows Forms letter/Mail generation application

    Hi, I want to make an application that generates a letter. I want to make the header section of the letter customizable, so that I can get the customer name, address and other information from database and add to the letter header section. Then ...Show All

  • Visual Basic Problem wiring click action to a button

    I have just installed VB 2005 Express (first time user!) and am trying to follow the example of creating a simple web browser which starts at page 60 in the PDF Manual 'Build a Program Now!' I have followed the examples without a problem until I hit page 65 headed 'To wire the click action to a button.'  The Manual states 'Close the running application and go back to the IDE.  Double-click the button control.  You'll see the c ...Show All

  • .NET Development Array class problems.

    Hi, I have som array problems, I have looked for informations about my problem, but can't find any solutions. The code below i a simpel exampel of my problem. Gratuful for any answear of my question. BR Matt Sweden --- using System; public class TelephoneBook { //!QUESTION!-HOW SHOULD A CONTRUCTOR LOOK LIKE FOR "arrPhoneBook" //!QUESTION!-HOW SHOULD A DESTRUCTOR LOOK LIKE FOR "arrPhoneBook" //Methods public ...Show All

  • Visual Studio Express Editions SubString Count routine

    Is there a simple way to count the occurences of a string within a string or stringbuilder maxlines=bigstring.count(",") Something like that or do I have to write my own function Or is there a function out there that someone can point me to Thanks. You're going to have to write this one. :( The good news is that VB and Dot Net has incredibly powerful string handling functions. ...Show All

  • Visual C++ binaries compiled using VC8 not running on IA64

    As VS 2005 is not supported on IA64 platform i had to use cross-compilation on 32bit machine. i did vcvarsall.bat x86_ia64 for setting the build environment. after building the application i tried running it on  IA64 machine but it is not running. D:\samples>exercise.exe The system cannot execute the specified program. manifest info is embeded in the application and in its dependency dlls. on checking C:\Windows\WinS ...Show All

  • Visual Basic Using a Variable inplace of a Textbox name...

    Im writing a piece of software with over 200 text box's in it, most of which are not displayed until certain criteria are met. What im trying todo is be able to use the name of a variable inplace of the text box title in conjunction with visible = true to save myself a heap of code. EG: Private Sub BoxShow() LabelValue.Visible = True <- which dosnt work ofcourse Count = +1 End Sub LabelValue is being set as the name of the text box, ...Show All

  • Visual C++ CRT Initialization Failure

    Hello everyone. I have a managed executable and an unmanged library combination, and I've spent the past couple of hours trying to track down a bug in the system. Finally, I think I may have discovered what it is. I have some global variables in my static library, and it would appear that when the global variables are being initialized, the CRT itself is in fact not initialized. I'm trying to figure out what's going wrong with it, but I'm ...Show All

  • Windows Forms How can I use the Forms Designer colour ComboBox control?

    Hi, I want to implement a ComboBox containing system/web colours and the associated colour name like you get in the VS.Net Forms Designer when you click on the BackColor property of a control.  I don't particularly want the three tabs, just the  ...Show All

  • Windows Forms "DataBinding could not find a row in the list that is suitable for all bindings"

    Hi All, I have a form with lots of related databound info on it. If a user loads up the form it starts creating a new 'booking' and adds new 'booking dates'. If they then decide to close the form without doing anything I need to delete all the info created. My form is bound to lists of buisness entities and I need to delete them all and remove them from the lists. Problem is I get: "DataBinding could not find a row in the list that is suitable ...Show All

  • Visual Studio 2008 (Pre-release) Binding still dosen't see changes

    In september ctp I was talking that binding dosen't see changes if elements it binds to dosen't exist yet.Bind ListView. ItemsSource = " {Binding XPath=something/*}" not working(ListView is still empty),if "something" does not contains a single element and you add it thereafter-XmlDataProvider.DeferRefresh()/ListView.Items.Refresh() dosen't help here too.The only solution now is explicit rebinding(not user friendly IMHO): lw.SetBinding( L ...Show All

  • Visual C# Retrieving windows user accounts

    I'm trying to retrieve a list of all windows users, but all I can manage is the current user. I want to be able to connect software accounts to the windows accounts for automated login. How can I get a list of all windows users What do you mean by "all Windows users" All Windows Users currently logged onto a workstation All local Windows user accounts All Windows users in a domain I woul ...Show All

  • Visual Studio Express Editions No sound using My.Computer.Audio.Play and Win98

    My app plays sounds when it is running and works fine on my WinXP machines but when I use it on a Win98 machine it doesn't produce any sound. The sound files (.wavs) are distributed with my app and stored in a folder in the same directory as the .exe Are there any limitations with using My.Computer.Audio.Play with Win 98 There are no limitations on using these functions on any computer with the .NET fram ...Show All

  • SQL Server Database group

    In sql server 2005 you have a group of databases called System Databases - Is it possible to create your own database group Best regards, Jakobsgaard This seems like a tease. Is this in grouping the works I am coming from an Oracle perspective where the world revolves around Schemas and Tablespaces. The Database group makes sense to me. Thanks ...Show All

©2008 Software Development Network

powered by phorum