Software Development Network Logo
  • Windows Forms
  • Visual C#
  • Game Technologies
  • Visual J#
  • Microsoft ISV
  • Windows Live
  • VS Express Editions
  • Smart Device
  • Visual FoxPro
  • Visual C++
  • Windows Vista
  • Visual Studio
  • VS Team System
  • Architecture
  • Visual Basic

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

cwang733t

Member List

HighDesertTech
Deepak Pawar
.Net Believer
remedy
ErmyasF
Mark q jones
joostvaningen
2020
MrRuffian
Taddub
Isa712
Guitz
zeffy
Cameron84
musicandstamps
time2upgrade
jmiller76
sarel206
Michael Fanning - MS
MrPeaceMaker
Only Title

cwang733t's Q&A profile

  • Windows Forms How to search for files by using only filenaems?

    How to search for files on the drive by using only the filenames.ie i want to exclude file extensions while searching You can use Directory.GetFiles(String, String) to get an array of strings with the filenames in a certain directory matching a search pattern. String[] arrFiles = Directory.GetFiles(@"c:\", "*.bat"); ...Show All

  • Visual FoxPro My form runs great inside of VFP, but has errors running from the exe...

    I have a form that uses a combo box for the user to select from. Their selection then is used as a basis for searching a table via a SELECT statement. The results of the SELECT statement are then written to a different table, where they are available for export as an xls file. It is searching an automotive customer info list by car make... This works flawlessly within VFP, but from the compiled exe I get complaints that Object 'wholesale_form ...Show All

  • .NET Development Hungarian dateformat does not work for a client side comparevalidator (ASP.NET)

    Hi, We are developing an asp.net (.net 1.1) application which is also used by people in Hungary. The dateformat used there is yyyy. mm. dd. (dot-space between the parts and a dot at the end). However the comparevalidator does not validate this. Also for some other countries (like  Slovak : dd. mm. yyyy) the validator does not work. I have found KB article #834330 and installed the patch mentioned, which fixes the error the Slovak, but ...Show All

  • Windows Forms Removing Duplicate Records

    I have a datatable which is the result of the import of some proprietory data. It's a transaction record table for customer purchases. Each transaction is linked to the customer account via their unique account code. In my sample data, i have about 4000 transaction records, which relate to approximately 350 unique customers. I want to filter my transactions table based on a date range (which i can do) and then REMOVE all records that ...Show All

  • Visual C# How to store a TreeView state and restore it back

    hi everyone, My code looks like this dataentryTreeView.Dispose() ; // disposes off the old tree InitializedataentryTreeView(); // again rebuilds the tree with the updated information return true ; Everytime i add,update or delete a node from my treeview it disposes the old tree view and rebuilds a new tree with updated information but the problem i am loosing the previous state of the tree view so it's becoming hard to nav ...Show All

  • Visual Studio How to update the build number in a .RC file every time I build?

    I thought this was such a basic thing that it would be built into VS, or answered in a FAQ somewhere, but I can't find the answer.  What is the best way to increment the build number of my (non-managed) C++ exe Microsofts internal build process uses a system very similar to the one described in the articles posted. Since our processes are based around a "daily build" the version information that is stamped ...Show All

  • Windows Forms Problem removing last two rows of DataGridView

    I am using VS 2005 Beta 2 and I'm having a problem removing rows from a DataGridView.  The sample code below populates a DataGridView located in an MDI child form with 10 rows.  The first three columns of each row contain buttons to Edit, View or Delete a row.  The Edit and View buttons work under any circumstance but the Delete operation only works on the first 8 deletes and then when either of the remaining two rows has its Dele ...Show All

  • Visual Studio Team System GUI Change requires checkout of licenses.licx

    We are using a couple of 3rd party components that have information stored in the licenses.licx file. We have noticed that anytime you edit a GUI that has one of these 3rd party components, the IDE requires us to check out the licenses.licx file. The problem is that there is one licenses.licx file per project.  If I want to edit GUI-A, I have to check GUI-A and the licenses.licx file out.  If another develper wants to work on GUI-B in ...Show All

  • SQL Server SSMS Login failure when trying to connect to SQL 2000 server using SQL authentication

    Hello all, Have a strange problem trying to get SQL Server Management Studio to connect to several SQL 2000 servers, all running with SQL Authentication. From SSMS, if I enter the server name, choose SQL Authentication and enter the username and password, the login fails with "Login failed for user 'validuser'. (Microsoft SQL Server, Error: 18456)". On the SQL 2000 server itself, the event log only shows the following when th ...Show All

  • SQL Server Am I in the right direction?

    I am using VFP as my interface and using SQL table as my back-end but recently i got this problem when i add another field in one of my tables, Before it has only 35 field and it goes right, but when I add another 3 fields my problem starts,... if i edit a character fields with all necessary code to update a record and accepted by SQL it has no problem... but when i edit the numeric field which I add, after i refresh my form, it goes back to eac ...Show All

  • Visual FoxPro cryptography failure

    I use _cryptapi class of the _CRYPT class library to encrypt limited amount of information: ids and passwords. They are in a table and the table feeds treeview items on demand. Before appearing in treeview the field values are automatically decrypted. Everything has been working fine until I noticed a problem yesterday. I have done most of development on C: drive but recently began moving the whole project to a G: drive since I set a new OS u ...Show All

  • Microsoft ISV Community Center Forums close excel when finish

    hi, i am importing files from excel to access. the problem is that when i finish importing the excel process (in task manager) is still running. is there any way to terminate the process from VBA i tried "close" and "quit" mothods and it's not working. this is my code: Public Function ImportFile(xlFile As String, tbl As String) As Boolean On Error GoTo errorHandler Dim ObjXL As New Excel.Application Dim ObjXLBook ...Show All

  • Visual C++ Support for dual core and dual CPU

    When does Microsoft plan to add support for dual core and dual cpu when compiling C++ code I was asking the same question 8 years ao when I got my first dual CPU machine. Did not get any answer. Distributed compilation like Incredibuild would also be nice to have. Regards Lars Schouw In VC2005 you can build multiple projects at the same time. http://msdn2.microsoft.com/en-us/library/9h3z1a69.aspx   ...Show All

  • Visual Basic BSTR type in VB

    I received a DLL which uses BSTR as string type: example : given in the include file DLLEXPORT BSTR WINAPI I2cGetInterfaceTypeStr (BSTR Interface); how do i access this function in vb. This doesn't work. Declare Function I2cGetInterfaceTypeStr Lib "I2CAPI32.DLL" ( ByVal InterfaceType As String ) As String Other functions of the DLL which don't use BSTR are working ok. Can anyone help me. Thanks, Jan ...Show All

  • Windows Forms Text position in a rich textbox

    Hey, How do you Aline Text to the left or right, or center it with a RichTextBox control I tryed this: RichTextBoxPrintCtrl1.Text.somthing the somthing is nothing, I could not find a option for .Text that would Aline it... Thanks :) Hello, You should select the text you want to align with richTextBox.Select or richTextBox.SelectAll, and after the text is selected, use richTextBox.SelectionAlignment. ...Show All

©2008 Software Development Network

powered by phorum