Software Development Network Logo
  • Game Technologies
  • Microsoft ISV
  • Windows Forms
  • Visual C++
  • Smart Devicet
  • IE Development
  • Visual FoxPro
  • .NET Development
  • Visual C#
  • Windows Vista
  • Visual Studio
  • Audio and Video
  • SQL Server
  • VS Team System
  • SharePoint Products

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

herbfl

Member List

David Tatton
EnigMa_AnGeL
game-maniac
Kent Boogaart
Opfer
eldiener
schalmeti
Peter Cwik
Zeldacat
VikasAgr
Natee
senthil_palraj_e81a78
Adrian Foot
Adii.sathye
Stardust25
Chaepp
Vojislav01
Bastiaan Molsbeck
John Cogan
wls1973
Only Title

herbfl's Q&A profile

  • .NET Development How can programatically show "Select Users" dialog?

    How can I programatically show "Select Users" dialog by using C# or any .Net compliant language Thank you, Teeavee Sirinapasawasdee what select users dialog would this be I don't think there is one in the .NET Framework but probably would have to create your own, or perhaps P/Invoke if there is an API that exists for selecting the users Take a look at this: http://www.codeproject.com/w2k/BfObjectSelection2.asp   ...Show All

  • SQL Server Create HTTP request in Stored Procedure

    Hi, I want to know if it is possible to create and execute a http request in SQL Server. I want to run the request in the database as alot of the data in the url would be retrieved from the database. I want to create a stored procedure that runs the request. The stored procedure must be called from a trigger on a table. The reason I want to go this way is because it would be alot faster that to get the data from the database and then execute the http request in the application. Another reason that I want it done on the database side is because the internet connection of my client is not as fast as the one I am using for development so I don't want the pages to load to many times and get the data between the server and the client c ...Show All

  • Visual Basic How to maniputate this string ?

    Hi All, I have a 3 different Strings like bellow, "Informat-eemknz\Admin" "MLSQW\POMK\PN\TESTUSER" "MHQLLz\FFRR\User1" And How do I get a output like this Admin TESTUSER User1 Like last string after \ separator Regards sujithf Try this: m_NewString = m_OriginalString.Substring(m_OriginalString.LastIndexOf("\"c) + 1) Tony ...Show All

  • Smart Device Development how to programatically install CF2 with my C# program using CEAppMgr

    Hi, does anyone know how can i utilized CEAppMgr to install both CF2 and my C# program I can manually install both by using cab file or used CEAppMgr to install one file at a time but i would like to install both CAB files using CEAppMgr. It's possible Thank you in advance. You can register as many INI files with CeAppMgr as you need and then install them in one step. Of course device can only install one CAB at a time anyway, but at least you won’t get several CeAppMgr pop ups. Please see MSDN for details. ...Show All

  • .NET Development Reusing SQL statements

    Hi, I am new to C# and I am having problems using Paramaters.Add... I prepare the "INSERT" statement and inside a loop I set the values for each parameter and call ExecuteNonQuery(); Something like: while (Stream.hasData()) { par1.Value = userId; par2.Value = userName; par2.Value = userPass; insertCmd.ExecuteNonQuery(); } The first time it works fine, but the second time I get: "Operation is not valid due to the current state of the object." I am using .NET 1.1 - I can't use 2.0... :( and SQLite 3 Thanks in advance Ok! The code below is really similar to the code which I am getting errors. checkCmd.CommandText = "SELECT userId FROM users WHERE userId = @use ...Show All

  • Visual Studio Express Editions How to get Serial number on usb flash drive

    I am unable to get the serial number on usb flash drives. I'm using vC#.net, but I don't know what to use for get it. I need your help, please! Thanks all..! I actually tried with WMI just now and for my flash USB disk there was no serial number, apperently some USB flash drives do have them, some don't. Give this a shot: //import the System.Management namespace at the top in your "using" statement. Then in a method, or on a button click: ManagementObjectSearch theSearcher = new ManagementObjectSearcher("SELECT * FROM Win32_DiskDrive WHERE InterfaceType='USB'"); foreach (ManagementObject currentObject in theSearcher.Get()) { ManagementObject theSerialNumberObjectQ ...Show All

  • Visual Studio Adding via code database fields to details / page header sections using Full verison?

    Hi there, I have just downloaded a 30 day trial to see if i can build a report dynamically i..e. The report consists of a header and a footer but Nothing else... well a details section but its blank... I need to be able to add objects to it from c# i..e.. Put at (x,y) with color Red of field name (from db) "ClientName" in details section.. And then in page header put (x,y) (just above the ClientName field a text object of "Name of Client" with a blue background and white text and font 9pt.... Hence i can use the same report but build it dynamically a runtime to support different fields and datasets... I already have the dataset dynamically working.... but need to be able to add fields... I think its something to do with ...Show All

  • .NET Development Hash table

    My requirement is to compare two method signatures. Its like, i check the namespace first,if they match i then check then method names,then each parameter... Is it possible to implement it using Hashtables Any other approach could be followed Kindly help me.... ...Show All

  • Windows Forms File Encryption?

    In my windows form application I want to develop a method to protect my text file contents from being seen by anyone. I am storing a username and password in the text file. I tried Encrypting the file, but then it cannot be modified by the user if they want to change their password or username. Or does anyone have any other suggestions as to where and how I can store a username and password that is not directly accessable via a text editor Basically, the concept of serialization is reading in a supposidly known chunk of data, and then parsing that data to whatever/whereever it belongs. If you are, for example, reading in a database record, you could call that "concept" serialization. Same thing when you read in your text f ...Show All

  • Windows Forms Disable Alt+Space keyboard shortcut for Context menu on TITLE Bar

    Is there anyway by which I can Disable Alt+Space keyboard shortcut for Context menu on TITLE Bar Waiting for reply... Thanx in advance... ...Show All

  • SQL Server Sql Delete Question

    I don't know if this is where I should post or not. I am trying to figure out how to get this select statement which generates all of the records I need to delete. Here is the select statement. SELECT * FROM SrcComputer as c join SrcDriverEntry as d on c . DriverEntryId = d . DriverEntryId join SrcFileList as f on d . FileListId = f . FileListId where c . compid = 567721765 I tried writing the Delete statement like this, but lo luck. DELETE FROM SrcComputer as c join SrcDriverEntry as d on c . DriverEntryId = d . DriverEntryId join SrcFileList as f on d . FileListId = f . FileListId where c . compid = 567721765 How would I re-write the statement t ...Show All

  • Visual Studio Tools for Office Shimming add-in causes Excel to crash

    Hi, I am developing an Excel add-in using C#/VS2005 with target platform Excel2003 (I have Excel 11.8033.8036), thus I extend IDTExtensibility2. I use ShimWizards2005 to create an unmanaged shim, and this seems to work fine. I use the Connect class as a loader for a middleware that connects Excel to a real-time back end. I encountered a rather curious problem when I tried to deploy this solution to a test machine, and after rather lengthy empirical testing, I found that; 1) If I use a Shim not mscoree, AND I show a non-modal form (Form.Show) then Excel crashes when I type in text in one of the TextBoxes of the form. 2) If I Don't use the shim OR I show a modal form (ShowDialog) before I show the non-modal form, it works fine. ...Show All

  • Visual Basic Debugging VB6 application using VB.Net

    Hi, We have upgraded a VB6 Proeject (exe) to VB.Net using VS2005 upgrade wizard, which is refereing VB6 Activex dll/ocx projects. We would like to debug the VB6 Activex dll/ocx projects from VB.Net (the upgraded project). How to debug the VB6 Activex dll/ocx projects from VB.Net (the upgraded project). thanks & regards Mano You can't directly debug vb6 ocx dlls from vb.net. I'm not too familiar with VB6, but if it has an option to specify an executable to launch, try setting that option to point to your .Net executable, and then launching the application from Vb6. Hope this helps, ...Show All

  • .NET Development Creating a Search using VB.NET and SQL

    Okay, I have ran into a problem with my Search engine for my database i created in VS.NET (phonelist.mdf). I have an <asp:GridView> setup for the results. I have been trying to read up on SQL and implement my own search but here is what i am running into. I launch the program and it runs fine until it gets to MyCommand.Connection.Open() . The error is InvalidOperationException was unhandled by user , The ConnectionString property has not been initialized. Here is my code for the search. <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="phonelist_search.aspx.vb" Inherits ="phonelist_search" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T ...Show All

  • Software Development for Windows Vista Error when using the Live Labs STS

    Hello: I'm trying to use the Live Labs STS, however I'm getting an error when I try to use the issued managed card. 1) I was able to generate the card your site 2) I was able to import the card 3) When I try to signin in the Live Labs Relay, the CardSpaces UI appears correctly. 4) I'm able to choose the card. 5) The CardSpace correcly prompts me for the password (it was a password based managed card) 6) ERROR: i) The CardSpace UI notifies me with this error message: Your data could not be retrieved from the (...). Check your network connection and verify you have supplied the correct authentication credentials ii) There are two events in the Application Event Log 1) A token could not be created. Identity provider requested for an un ...Show All

©2008 Software Development Network