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

Software Development Network >> a.d.m's Q&A profile

a.d.m

Member List

Codeblack
Thomas Weiss
markovuksanovic
Tarey Wolf
R2DJ
ManjuVijay
jaczu
belisa
timay
VikasAgr
KitGreen
Bret Grinslade
Sam_res03
Northern Ferret
chksr
rpskumar
RichLeyshon
Bolugbe
cliffz
Ashish Derhgawen
Only Title

a.d.m's Q&A profile

  • Smart Device Development register a dll

    Hi, when I want to register the dump.dll register filter, I got this error dump.dll is not an executable file and no registration helper is registered for this file type. Any idea where it can come from Thanks Regards I tried both, with regsvr32 I have the error message that I described in my previous message, and when I used regsvrce with platformbuilder I have the following error : DllRegisterServer in dump failed, and the dump.dll is unloaded. Maybe I do it the wrong way Thanks for your help Best Regards ...Show All

  • .NET Development Reading an Excel file from a WinForm application

    I need some help reading an Excel file from .NET application. I have an Excel file that has data starting from the 3rd row. The first row has some info about the file, second row has the column names and the 3rd row has data. @"Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + strExcelFilePath + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1;\""; The application is reading the values and column names correctly when I delete the first row so that the new first row contains the column names and data from second row onwards. Is there a way to specify that the header row is the second row and data starts from the third row Or is there a better way to handle this I don't want the user to delete the first row for this to w ...Show All

  • .NET Development How detect particular COM port?

    Hi, on Control Panel -> System -> Hardware -> ports (COM and LPT) I usually have several COM ports: Communication device (COM1), communication device (COM2), etc. etc. Depending from the drivers (.inf file of added card), I could also have "Special communication device (COM9)", where COMx port depends from the computer. Now, how can I detect if my "Special communication device" is installed on my PC and which COM port corresponding There is a function for this in System.IO.Ports called GetPortNames(); It returns an array of type string that you can iterate through thusly SerialPort myPort = new SerialPort(); Foreach (string s in myPort.GetPortNames()) Console.WriteLine(s); ...Show All

  • .NET Development pls..help me to figure out the problem

    hi, when i tried to run the following code , the code keeps on running without creating the required table............... pls can anyone help me to figure out the problem........ waiting for your replies... int row_head = 3; int col_head = 3; TextBox [] columns1= new TextBox [5]; TextBox [] rows = new TextBox [2]; for ( int i = 0; i < 3; i++) columns1[ i ] = new TextBox (); for ( int i = 0; i < 2; i++) rows[ i ] = new TextBox (); columns1[0].Text = "col1" ; columns1[1].Text = "col2" ; columns1[2].Text = "col3" ; rows[0].Text = "rowh1" ; rows[1].Text = "rowh2" ; String [] description= new s ...Show All

  • SQL Server Install programming is terrible

    I use SQL server 2005 for a year now at work and home. The intsall process and logic is TERRIBLE compared to previuos versions. The most common problem I get on developers machines is when they are using EXpress and then upgrade to the Developer or Enterprise edition. Sql Server 2005 Express database instances get left in the registry or somewhere, and the next install sees it and refuses to install its instance. The ARPWrapper.exe. tool in the boot strap can be run and you can see the instance there, but they is NO POSSIBLE WAY to remove it.. I have been woring on this for 2 days and really hoping someone has a fix for this. I have tried the variosu registry HACS out there on the net, but no luck still. I noticed that a huge proportion o ...Show All

  • Visual Basic VS - prompt before exit?

    When I'm about to exit VS2005 (or VS2003) it doesn't prompt me if I'm sure. Is there any way to set this option I looked in VS options and searched registry keys, but didn't find anything. I'm probably missing something obvious. Can u help me, please Thx in advance I use tabbed document interface, but I really dont see how is this relevant here. I would just like that VS *always* asks me something like "Are you sure you want to quit Visual Studio " when I'm about to exit. ...Show All

  • Visual C# directoryentry

    hi i have a problem with the first argument of this methode directoryentry.Invoke( ); where can i find the methodname that i should post as the first argument what the available methodename the method name is the method in your class you wish to invoke (the delegate method) http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassinvoketopic.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassinvoketopic1.asp ...Show All

  • Visual Studio Express Editions Question about filtering a database.

    I would like to filter a database but cannot get exactly what I want.... The code I was trying to manipulate is this: BindingSource .Filter = " ColumnName = ItemtoFilter '" These are obviously generic names. That seems to work fine as long as you know inside the script what the user wants to filter. How do you make the " ItemtoFilter " a variable Thanks. Hi, Are you using a DataTable or DataSet as datasource If so, it might be easier to use a DataView to filter/sort your data. Anyway, when the column you need to filter is a text field, you will need to add quotes to the filter like this: BindingSource.Filter = "ColumnName = ' filter ' " Greetz, ...Show All

  • Visual C++ PostMessage fires my message twice

    Hi, I have a very strange problem, In my project (Cpp) I use PostMessage , the problem is that it fires my message twice - even though I wish to post it ones. More clearly, Whenever I try to post a message from my addin to my automation project I receive two messages, and thus, I trigger my responding function twice. It costs me computation time and it also causes computation errors. Does any one have a clue Best regards. That shouldn't happen, and it doesn't sound like a bug or common issue I'm familiar with. Are you absolutely certain that you've got it all right You may have better luck with questions such as this in the ui or MFC newsgroups at http://msdn.microsoft.com/newsgroups. ...Show All

  • SQL Server Dividing a Column

    I have a column that contains the persons Full name. I would like to split it so that it contains the persons First Name and Surname. Can i do this from a select command. Hope you can help e.g. Full Name -------------- Dave Smith Want to acheive First Name Surname Dave Smith Louis: I agree with you completely. I should have been less terse with my first alternative and stated something more along the lines that led to a corrected design. I am guilty of frequently trying to answer the questions too fast for the sake of being more brief. Please continue to try to keep me straight. What I need to do is commit to slowing down and discussing the root proble ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PSP-like Background

    Hi, im pretty new to the direct-x programming and i really would like to know how i can create something like the psp-background (putting the background image cant be that complicated), i mean, the wave effect. i thought of something like putting small image to a sinus-curve or create some path-deformer ! please help me... (btw. sorry for my bad english) http://upload.wikimedia.org/wikipedia/en/5/51/Xbar1_0003.jpg every "line" simply waves smoothly... hmm i think i need to read something about the vertics(grid)... but thank you for your answer ...Show All

  • Software Development for Windows Vista Can't install VS6 SP6 or VB6 SP6 on Vista RTM (6.0.6000)

    Hi, I can't install SP 6 for Visual Studio 6, either the VB6 cutdown version, or the complete VS6 version. I have Vista Ultimate version 6.0.6000. This problem exists even if I "Run as administrator". I already have UAC off, and the problem exists whether I use Compatibility options or not. The process to follow to reproduce this problem is: Double-click Setupsp6.exe Click 'Continue' Click 'I agree' [ Very short time-period follows] Message box: "Visual Studio 6.0 Service Pack 6 Setup was not completed successfully." Click 'OK' Setup then finishes. SP6 is not installed. I have about 100 applications I must maintain and recompile periodically. I now cannot do that. Does it mean I have ...Show All

  • Visual Studio 2008 (Pre-release) Where is the help files

    When you install the Orcas CTP you get a warning that the help is missing. Anyone know where it is     Actually, yesterday I really needed MSDN Help. I'm waiting for a new workstation board and until it arrives, I'm very low on disk space. I started an install of MSDN and my machine crashed. When it rebooted, IE7 asked to install Frontpage every time it was invoked. I de-installed IE7 and IE6 did the same. So finally, although Frontpage was already installed, putting the frontpage installation dvd in a dvd drive cured the problem. I then installed my old Help with not further problems. As far as I can tell that's the only way to get it back. Everything I installed was RTM. I did have ...Show All

  • Visual C++ Passing an fstream as a parameter

    In VS6 this worked, or at least would compile (except I didn't have to do the using stuff up front): using std::fstream; using std::ios; using std::lend; fstream testfile; TestRead(testfile); Now I get this error: c:\program files\microsoft visual studio 8\vc\include\fstream(933) : error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>' I've commented out all of the lines that use the fstream as a parameter and the code compiles. What do I have to do to make this work Thanks, Ken Don't pass fstream by value. Instead pass it by reference (i.e. use TestRead( fstream& myStream) ). ...Show All

  • Windows Search Technologies SIMPLE instructions to REMOVE Windows Desktop Search

    I have written to MS without receiving a simple, non-MIS/IT description of how to remove this horribly intrusive add-on, that installed itself DESPITE clicking on DO NOT INSTALL. So (and without getting into the politics of who is behind this), all I want is the easy way to remove this program. I have gone into Add/Remove Programs and YES, clicked on Show Updates, but there is NOTHING clearly identified as Windows Desktop Search. ALSO, and most important, I DO NOT want to disable or screwup other programs/software. HELP. What is the point of having multiple users with passwords if ANYONE can access the entire history of EVERYONE Thank you, this appears to have done the trick (I had ver ...Show All

©2008 Software Development Network