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

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

Steve98796

Member List

Adamus Turner
Steffanp
Simple Samples
Heraclito
ClaraOscura
MikeGB621234
Spider-link
the-rpd
Part Time Australian
tenchyz
mranzani
Kennon2005
Mitch Wardrop
potatosnketchup
Beast Forever
CJKeatley
Ashok Ojha
Alexey Rokhin
Bradrover
publicgk
Only Title

Steve98796's Q&A profile

  • Visual C# No Overload error help

    I'm creating a TreeView at runtime. This tree loads, the app populates it from a database and the child nodes are updated correctly. However, I'm currently getting this error after adding a line of code that would handle any node selection: Error 1 No overload for 'OnTreeView_AfterSelect' matches delegate 'System.EventHandler' I've created an instance of the TreeView at the class level and added code to create it and add it to the form at run time. The error occurs when the build gets to the highlighted line in the code below. I have read thru the MS online help concerning this and I'm very confused because according to all of the samples I've come across, I'm doing everything right. I know there must be something I've missed. ...Show All

  • Visual Studio 2008 (Pre-release) MenuItem ItemsSource

    Hello, I would like to create a context menu for my listview: That would have the following structure: Send to Admin Send to > John Jim Jill Jack The list of names is dynamic is encapsulated in a string array and accessible through the TEST property. <ListView.ContextMenu> <ContextMenu DataContext="{Binding ElementName=pg}"> <MenuItem Header="Send to Admin"/> <MenuItem Header="Send to" ItemsSource="{Binding Path=TEST}"> </MenuItem> </ContextMenu> </ListView.ContextMenu> So I can't tell why this doesn't work :( I tried ItemsSource={Binding ElementName=pg, Path=TEST}...no cigar. does the itemsS ...Show All

  • Software Development for Windows Vista CreateFile Assistance

    I have the following code taking out from windows system programming 3rd edition book. I'm having a hard time running this code, I know where the problem occurs, but don't know how to remedy the solution. I want to pass the command line arg(in this case argv[1]) for CreateFile, but I get an error. If I were to use TEXT("filename") everything will work fine. How can I get CreateFile to work with argv[1] Here is a snippet of my file. int main( int argc, LPTSTR argv[] ) { if ( argc != 3 ){ std::cerr << "Usage: cpW file1 file2" << std::endl; exit( 1 ); } HANDLE hIn, hOut; DWORD nIn, nOut; hIn = CreateFile( argv[1], // file to open GENERIC_READ, // open for reading FIL ...Show All

  • Visual Studio Express Editions Emails when registering

    Gee it sure would be nice if the emails had the reg key in them so if some poor bloat kills his IE before he copy's the info down( reg key ) he wont have to uninstall and reinstall and re register... when you register for the first time emails need the codes in them. IE can crash and  or the user closes without realizing it needs to be open before the user can enter the code and the code is gone ...Show All

  • SQL Server update flat file before import SSIS?

    Hi, We have a csv file which contains a date field. The data in the field contains "0" as well as "dd/mm/yyyy". Is it possible to update all "0" to "01/01/1900" on import using SSIS. Basically when we import the flat file now it falls over due to the destination table data type being datetime. If this is not clear please let me know and i'll try and explain more Thanks for any help. Slash. Thanks men, I'll try this later and see what i get, i've not used the SSIS interface before today so may ask a few more questions. Thanks again, Slash. ...Show All

  • Smart Device Development Creating CAB files for different Processors

    Hi, I want to create CAB files for different processors. Can any one guide how can i proceed. Thanks in Advance, There are no mass market mobile devices running anything but ARM. All Windows Mobile devices are ARM, no exceptions. SH3 is not supported started CE 5 and it's not supported by NETCF V2. There are some industrial controllers running MIPS variations. They are commonly mounted inside something and in many cases don’t even have displays. Unless your application specifically designed for these devices it would never run on MIPS, x86 or SH4. Let me repeat: you don’t need to worry about anything but ARM unless you’re given specific device by your customer and asked to ...Show All

  • Smart Device Development Cannot get VK_TACTION in ListView control

    Hi, I have a dialogbox with ListView control on it, i'm trying to get the VK_TACTION in WM_NOTIFY (LVN_KEYDOWN) but i do not receive this key, i got other keys (VK_TUP, VK_TDOWN...) except this 1...anyone know y anyway to get the VK_TACTION in listview the program will receive WM_COMMAND with wParam = 1 when i pressed the action key...but i cannot get it in LVN_KEYDOWN.... thanks in advance... ...Show All

  • SQL Server SQL Server Agent not finding the package to run

    Hi, I have been searching through the posts hoping to find an answer to my problem. Most errors and problems seem to deal with Agent not being able to run packages because of permission issues. My problem has to do with SQL Server Agent not finding the package to run. I have a proxy with a high enough level of permissions (SqlAgentOperatorRole). The error message I get is: Executed as user: ___/____. The package could not be found . The step failed. The package is in a folder on our network. When I create the step I use the browser to go find and select the package. So why does it not find it at runtime I can run it manually My group is using 2005 for the first time. Any help you can provide would be very much appreciated. ...Show All

  • Visual Basic Question about executing a program written in Java from an application being developed in VB .NET.

    Hi, I would like to execute a program written in Java from an application that I am developing in VB .NET. Can this be done by writing: System.Diagnostics.Process.Start("java MyClass", "arg1, arg2, ..., argn") Any advice will be helpful! Thank you. You won't get it to start that way but you can get it to run as a script as long as you have a script host registered on your system: Dim P As New Process P . StartInfo . FileName = "MyClass.js" P . StartInfo . Arguments = "Arg0, Arg1,.... ArgN" P . Start () ...Show All

  • Visual Studio Express Editions adding a search + other quesions

    1. i need a code that will set the default browser.... (example 1. Functions > Set default browser (PN browser)> now default browser) 2. i need a code that will make pages viewed offline... (example 2. Offline > Load page offline) 3. i need a progress bar code 4. choose default background color. (example 4. Functions > Choose bground > * orange* > bround now orange) HOW can I add A serach TO my toolbar in Visual basic   Like this: ___________________ LOGO {textbox} {go}  __________________ Google.com Results: 20,000   1. 2. 3. 4. ...Show All

  • Visual Studio Team System Checking in Solution not including all files

    I'm using VS2005 Team Edition for Software Developers, and using TFS for version control. Often times when I do a check in at the solution level not all files get checked in. Some of the project files and some code files in the projects still show the "checked-out" checkmark symbol in my solution explorer. If I right click one of those files, There is no "check in." option on the menu. If I check it out, then check in, it works and the checkmark is replaced with the lock icon. I can't figure out any pattern to this, it just seems to be checking in some files and leaving others checked out. This is happening on some of my co-workers machines as well, and its creating a lot of confusion when we are developing as a t ...Show All

  • Visual Studio Express Editions after having registration how would i start to take benifits

    that is which sites i should go and take advantage You can go to http://connect.microsoft.com and click on "My Participations" to see your Visual Studio Express benefits. ...Show All

  • Smart Device Development Bluetooth - Use of HCI layer

    I am using Microsoft bluetooth stack and Windows Pocket PC 2003. I need to handle bluetooth connection on a very low level. I tried to use HCI layer directly calling HCI_EstablishDeviceContext method. It returns "The service has not been started" error. I need my device to report as device with some specific Code of Device. I am able to change COD using system bluetooth function, but i do not know how to accept connection on very low level. Is it possible to use HCI layer directly It's not my post, but I'll happly take his lead. I'm interested in getting the connections' RSSI. I'm trying to HCI_EstablishDeviceContext, but I'm missing something. I always get a 1062: "The service has not been started". Sho ...Show All

  • SQL Server No exception message from CLR stored procedure

    Hello everybody, I've encountered a strange thing using a CLR Stored procedure: The procedure throws an exception with no message inside... value = {" "} Basically the procedure has a string as argument which contains a SQL statement that changes according to the users selections... The results of the query are saved into a dataset for further processing. Those resultsets can sometimes be very big (ex: 15000 records...). (For the record the procedure works fine for smaller datasets ex 6000 records and running the same query on the application server returns the expected resultset ) By Debugging the procedure I could determine that the failing point was when the dataset is filled... Anyone having any id ...Show All

  • .NET Development Update DataSet with the values of the inserted row

    Hey, First of all i work with an access database. In my program i made an DataAdapter with retrieves rows from the database from two tables(through an inner join). Because the dataset linked to this DataAdapter is represented in a datagridview i also wrote insert, delete and update commands. The way i solved the insert in two tables is with an transaction. In the RowUpdating event of the DataAdapter i create an transaction and manually insert the row in one of the tables. The insertcommand of the dataadapter will handle the insert in the other table. In the RowUpdated event of the dataadapter i commit the transaction. This works all fine, except for the fact that some values in the datagrid are left empty because then the defa ...Show All

©2008 Software Development Network