flagrant99's Q&A profile
Visual Studio Express Editions Can not debug converted code.
Hello. I recently converted a windows application created in Visual Studio VB 2003 and when I try to run the code in the debugger I receive the error: "Microsoft Visual Basic 2005 Express Edition does not support debugging the code type specified by the project". I've deleted every object and reference in this project to try to narrow down what could be causing this error. Even after deleting everything except for one blank form I still receive this error. I'm also choosing a debug build when compiling. Is there something I'm missing Thank you in advance for any help. Tony " Even after d ...Show All
.NET Development strongly typed dataset
Hi, The following line populates a datagrid using a strongly typed dataset. dsEmps is the .xsd file in the foreach line I would like to loop through each record I get an error on the foreach line and it says: specified cast is not valid I think this line has to be somehow casted employeeDetailsData.Employees.Rows EmpBusRule.EmpService.dsEmps employeeDetailsData; EmpBusRule.Employees br = new EmpBusRule.Employees(); employeeDetailsData = br.GetDataEmployee(); if (employeeDetailsData.Employees.Rows.Count < 1) { throw new Exception("No record found."); } grdEmps.DataSource = employeeDetailsData.Employees; forea ...Show All
Visual Studio Express Editions Keyboard controll?
Is there a few lines of C++ code I could use to Disable the real keyboard for the duration of the program and Send keypress events to the system (including Windows Logo, Alt, A-Z, 0-9, Tab, Space, Enter) You can send input by SendInput, keydb_event and mouse_event. http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/sendinput.asp You can not block the normal input in an easy way. You need hooks for this and this requieres writing a DLL that will be injected into every process, read the docs for SetWidnowsHookEx. http://msdn.microsoft.com/libra ...Show All
Visual Basic Search function
Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this you have to do some reading and check out some sample projects before starting building you application. Here is a great place to start: http://samples.gotdotnet.com/quickstart/winforms/ Among others you will find ho ...Show All
Visual C++ 2 dimentional arrays...
Hi all, I need to do this: 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 Any idea Here is my code so far: #include<stdio.h> void main () { int n=5; int m=5; int arr[5][5]={0}; for (n=0;n<5;n++) { for (m=0;m<5;m++) { printf ("%d ",arr [m]); } printf ("\n"); } printf ("\n"); printf ("\n"); for (n=0;n<5;n++) { for (m=0;m<5;m++) { printf ("%d ",arr[ ][ ]); } printf ("\n"); } } Are you asking how to write the code to generate an array with the values you describe It's not clear that ...Show All
Windows Forms Adding a checkbox set to False to a DataGrid
Hi folks, I think I'm missing something pretty basic. I have a windows forms datagrid, to which I need to add a boolean column (not tristate), set to False. I add a boolean column to the dataset, then loop through all the datarows, and set the value to false for the column. Then I create a DataGridTableStyle, add a DataGridBoolColumn,&nb ...Show All
SQL Server Uninstall Microsoft SQL 2005 CTP
Hi, I am having trouble uninstalling Microsoft SQL Server 2005 CTP. I have gone through the steps of uninstalling. Microsoft Configuration Tools does not seem to uninstall. HELP! Tried everthing short of formatting thanks in advance Hi.. try run the Build Unistall Wizard Step for this http://blogs.msdn.com/nikop/archive/2005/03/04/384972.aspx Ps: This steps is to remove Feb CTP but I think that have work with any build. regards Nilton Pinheiro ...Show All
Visual C# file format of pst
hi all, i am in need of any source code or tool or what ever , by which i can access the contents of pst files. if i can get the file format of pst files, it will also be usefull for me to develop my own source code. its very urgent, pls help me as soon as possible thank you. vijay hi recently i have developed the interface for acessing pst file. I will be able to compile this code fordiffrent laguages please let me know if you are interested, just post here! ...Show All
Visual Studio Error when register CRQE.DLL in Windows 98
I try to register CRQE.DLL in a Windows 98 SE Machine using: regsvr32 "C:\program files\common files\Crystal Decisions\1.0\bin\CRQE.dll" The DLL exists and isn't a corrupt or invalid file but allways I receive the error: LoadLibrary(.....)failed. Error 0x00000485. I install (by suggestion of a person) DCOM but the error continue. Please, what I can do Thanks for your help... Problem solved. I forgot to install dbghelp.dll. Thanks!!! ...Show All
SQL Server Data flow failure in a loop
Hi, I design a data flow which extracts, transforms ans loads (the main goals than an ETL...) data from an Oracle DB to a SQL server 2005 DB. I run my dataflows on several oracle instances which are not in the same servers. I set one data source for all these instances ans use a loop to execute the dataflow for each of them . The matter is that if a loop fails, the other loops won't go on. Then I would have collected only datas from the servers before the failure and not the one after the failed connection server. Is there a way for my loops to go on after the failure of one of them Regards. ...Show All
Windows Forms Refreshing DataGridView when I close Detail Form
I'm a newbie and I'm trying to use VB.NET 2005 beta 2. This is my problem: I have 2 forms, the first form contains a datagridview bound to a table. When I double click on a record, I open another form (detail form) bound to the same table where I can modify the record I selected. Everything works fine. The problem is: when I save data and close the detail form, I want to refresh the datagridview in the first form so that I can see the modified data. Actually the only way I succeeded to do that is using again the Fill method of the tableadapter but I hope there is a better solution. Thanks Stefano Stefano, you could try DataGridView.R ...Show All
SQL Server Query cube from within SSIS
Hi, I'm trying to query a cube via MDX from within SSIS and not having much luck. Has anyone got this to work and if so how I've tried to do it via OLE DB Source Data Flow Item (using Microsoft OLE DB Provider for Analysis Services 9.0) and it doesn't work. Any help would be greatly appreciated. Thanks! ...Show All
Visual Studio Express Editions adding photo's to photo album
can anybody tell me how to add photo's to my photo albums,I'v started a web site from template and not uploaded it to my server yet but cant find out how to do the photo album,any help much appreciated I assume you're using web developer express There reason it's not in the list is that ASP.NET related questions belong at www.asp.net . You should try over there. ...Show All
Visual Basic Populate a listbox with three columns using VBA
I created a listbox at design time, told it to have three columns, no rowsource or other data binding. I did tell it to have column headings. How do I populate the three columns lb.additem lb.<what goes here > = "some string for column 1" lb.<what goes here > = "some string for column 2" ... And how do I populate the column headers Thanx. I've looked through MSDN and can't seem to find it. Jim These forums are for VB.NET questions. VBA is a very different product from VB.NET and there are some other locations where youy will probably get a quicker and better ...Show All
.NET Development assign new user to role
The creat new user tool allows you to add a new user for the purpose of logging in to the website. The tool does not appear to allow you to connect the user to a particular role. Is there a way of doing this through the web page when the new user signs in. go to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=415797&SiteID=1 , the answer is the same. ...Show All
