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

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

Rago

Member List

TheJCMan
Dave Wu
Niamh
Zano
CFO
PhilipAnton
parblaster
suparba
Student_I
rajitha
laughing gnome
Wayne Gibson
Luhz
John Cheng
Federico_Star
Rajm
PB Poonam
Ldannyboy15
djdarkblue
NEUTRON-STAR
Only Title

Rago's Q&A profile

  • Visual C# Count the number of characters in a string

    Hi all Using Visual Studio C# Have a string string st = "Hi, these pretzels are making me thirsty; drink this tea. Run like heck. It's a good day." ****** How would I go about counting the number of characters in this string, without including the commas, semicolons, spaces, and periods. Would like to display the number result in a label. Any suggestions would be appreciated. bebop   Paul Domag wr ...Show All

  • Windows Forms .NET 1.1 Project With File-Based Reference To A .NET 2.0 DLL Not Working

    All-- Please help I have a design that requires that a given .NET 1.1 WindowsForms client application must include a file-based reference to a DLL that was built with .NET 2.0. Unfortunately, I cannot get it to work. The VS.NET 2003 IDE will simply not let me add the reference. Ug. I have tried several tests, detailed below, but I have yet to find an answer. Can it be done If yes, then how can it be done If no, then what is the wo ...Show All

  • .NET Development Timeout error on Data Adapter Update

    I get a timeout error while updating a recordset. So, I said, 1. adptr_DataAdapter1.UpdateCommand.CommandTimeout = 1000; 2. int modifiedRows = adptr_DataAdapter1.Update(myChangedDataset,  str_table_name1); However, I get the following error at the first line. Object reference not set to an instance of an object. Is there any way to fix it You need to set the UpdateCommand first. If you're using a CommandBuilder, it will build the com ...Show All

  • Windows Forms Painting over ComboBox and NumericUpDown

    Hi - I have derived two classes, from ComboBox and NumericUpDown. When the data that is displayed in each of these classes is modified I want to paint little blue triangles in all the corners of the control. I have been able to accomplish this with another class I have derived from CheckBox, but the same code does nothing in the ComboBox and NumericUpDown derived classes. Below is the code where I am overriding OnPaint. Any help on wh ...Show All

  • Visual Studio Express Editions TextBox (multiple line) & Databinding

    In an attempt to do a project recently, I've bumped into a problem with textbox and databinding. I have a multiple line textbox and wish to display the address of a company. However the full address of the company is stored in multiple columns inside my database. When implemented, I can only display the street address onto my textbox. I'm currently databinding the textbox to the address field in my customer table. Is there a way to display more ...Show All

  • SQL Server generate a text file from SQL Server

    Hi I need to generate a text file from SQL Server. The task automatically runs daily. The format of the text file use "/" to separate the field and the row. At the end of the file, it adds number of char  and uses "\". The number of char includes the data parts and excludes a few word of "the number of char". For example, The underline fonts mean the first row record. The Bold fonts mean the second row record. The Italic fonts mean ...Show All

  • Visual Basic i would like to ask why when open the openfiledialog .....

    i would like to ask why when i open the openfiledialog but no select any file and than to click cancel the error will be occur...why thanks so much. The exception is thrown oly when you are trying to access the selected file. And if you click cancel then obviously there is no file, so an exception is thrown... You must do a check before operating with the selected file... The Show method of the OpenFileDialog will return the DialogResul ...Show All

  • Windows Forms Problem terrarium server beta1

    I installed the terrarium server beta1 and did everything what was told, but I'm still getting an error. this error appears: COM object with CLSID {0002E500-0000-0000-C000-000000000046} is either not valid or not registered. Description: An unhandled exception occurred during&nb ...Show All

  • Smart Device Development Method in searching record in 40 thousand records in Pocket PC

    Hi All, currently i'm doing a PDA application with data of 40 thousand over records. The data records are currently stored in text file, instead of SQL CE. When i have tried to search the record by using StreamReader, it perform slowly (30 minutes). Do any expert know any Method OR Algorithm to perform such record searching Data sample: "XXXX","DDDD","RRRR" "RETE","YUUU","TTTT" Thanks Sorted index + binary s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vertex Buffer Question

    I was wondering if it is possible to change the size of a vertex buffer after the buffer has been created The reason i ask is I am making some terrain that is made up of smaller grids but the number of vertices in the buffer need to change all the time because i do not want to always render all the vertices. Any help is appreciated. Thanks in advance. Instead of recreating a vertex buffer everytime you have different amounds of data, you sh ...Show All

  • Windows Forms How to drag & drop columns header to group by that columns in DataGridView

    Dear all, My application develops on DataGridView so I want to make it more convenient. One of requests of DataGridView is drags columns header in Caption (this property is supported previous DataGrid) to group by that columns . I think this is a challenging for DataGridView. On the other hand, this function is supported by a lot of third-party. Therefore VS.NET 2005 should be supported this function in last version of DataGridView. Howeve ...Show All

  • Visual Basic Can I run the java programme using VB

    Hey, I know that in java, we can use runtime class to run a programme written in another language. But I'm not sure if it is possible in VB6. If yes, how to implement it Besides, how to read in a text file in VB6 Thanks in advance! Process.Start will run a program, no matter what it was written in. There is a file system object you can create to read text files. Google will answer this for you, in seconds. ...Show All

  • Visual Basic Difference between .cfm and .xml file?

    Is the main difference the empty white space lines at the top before the "< xml verson = 1.0" These empty white lines are giving me fits, when I read in data from the .cfm file which is supplied to me. I wrote a routine that strips these empty white lines. Then it works. But doesn't VB2005EXP have code that handles .cfm files directly Surely, others have run into this This question was also poste ...Show All

  • Visual Basic VB 2005: How to Refresh a DataSet

    I have an application with more than one form to manage data. Some data shown in a form depend from an other. Example: in the first form I manage the Product Categories (adding, modifing) and in the second form I manage the Product Items showing them by Categories. If I open both the forms and I modify the Product categories, how can I refresh the second form in order to see the complete Categories updated So, how can I refresh the dataset and t ...Show All

  • Visual C# Convert Perl Code to C#

    I have a perl script which I wanted to convert to C# which I can use for my application. Is there any tool/utility which does this. Thanks Imtiaz It's not too big. I am pasting it here.  It reads a pipe delimeted file fetches some data and write it to another file. Following is the complete script   eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift; $[ = 1;&nb ...Show All

©2008 Software Development Network

powered by phorum