cybrenergy's Q&A profile
.NET Development .NET Framework 2.0 question
I appologize in advance if some of my questions to the forum is a little out of place. I am not a programmer or developer, just a gamer, system builder, and network administrator of a home network. After installing .NET Framework 2.0, Direct X9.0c's Diagnostic shows that one of the two system.dll files is missing. The one that is listed belongs to 1.1, so logic dictates that it is the one for 2.0 that is missing. However it is in the .NET 2.0 folder! Some other symptoms are that logging into .NET sites must be done manually (being signed in with MSN Messenger does no good), and Auto-Scroll function for IntelliPoint 5.2 does no ...Show All
Visual Studio Team System Send Bug in Mail?
Hi there, Is there a way to send bug in mail or send query in mail like prodoct studio in VSTS2005 team system Thanks, Anu Right click on the query in UI, say "view query". Select 'save query as' from the file option and choose 'File'. It will allow you to rename the query and save it at the desired location. Thanks, Avanti ...Show All
Windows Forms Installing 3rd party prerequisite with bootstrapper and multiple MSIs support using ClickOnce
I have the following scenario. I am trying to install a 3rd party prerequisite that has multiple MSIs and one bootstrapper. I am using VS 2005 Beta 2 with ClickOnce to install this component. Since there are multiple files included in the 3 rd party tool installation, ClickOnce can't just download the 3 party bootstrapper but also needs to download all the 3rd party MSIs that bootstrapper is using. One solution might be combining MSIs and bootstrapper into a single exe may be using VS Setup project and creating a custom action in that project to start running the original bootstrapper. Or I know there are tools for combining multiple M ...Show All
Smart Device Development GSM modem com port on a WM 5 device
Has anyone been able to open up a com port to the GSM radio (modem) on thier WM5 device and send AT commands I think this was possible with WM 2003 but I haven't heard of anyone trying it out on WM5. I've tried a bunch of things, and nothing seems to be working. I can't open a handle with CreateFile to my COM port, I get a "requested resources is no longer available" response. I've tried opening the cellular line in datamodem passthrough mode but apparently my GSM modem doesn't support passthough mode with TAPI (invalid bearer mode) The RIL exports a GetSerialPortHandle() function. And although this returns a valid handle, nothing ...Show All
Windows Live Developer Forums MSN Search Web Service SDK Version 0.60 Now Available
This SDK update includes code samples in VB and C# for Visual Studio 2003 and 2005, an updated online help file (CHM), and several new, important features. The new functionality available through the MSN Search Web Service includes: Support for all markets (CultureInfo) currently available through MSN Search (see http://msdn.microsoft.com/library/default.asp url=/library/en-us/MSN_Search_Web_Service_SDK/HTML/F_Namespace_SearchRequest_CultureInfo.asp for a complete list). PhoneBook (Local) results that return Title, Description, and Url fields as well as additional PhoneBook-specific fields such as the Phone number, an Addre ...Show All
Visual Studio Binding dataset at runtime without using tableadapter
Hi all, I am currently working on a reporting component of a project. We have already defined and coded our stored procedures and data generation modules. So, I have a dataset which has data populated in runtime and I have my reportviewer control. What I need is a report object and binding that object to the dataset in runtime. In order to form the report object, I need to add a datasource. After all the searches I have done, I figured out how to form the report for a dataset that does not have the data in it yet. I've created an XSD schema of the dataset and used it as the datasource to define which dataset column will be visible i ...Show All
Smart Device Development Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\...
This program is ported from a working evc4 project. If I don't choose to "register output" it copies the file to where it is supposed to go. If I elect to "register output" then the file doesn't show up in the emulator's directory and I get the above error. FWIW I have the following "Additional Files" msvcr80.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_PROGRAM_FILES%\MyApp|0 atl80.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_PROGRAM_FILES%\MyApp|0 msvcr80d.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_PROGRAM_FILES%\MyApp|0 MFC80UD.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_PROGRAM_FILES%\MyApp|0 mfc80ENU.dll|$(BINDIR)\$(IN ...Show All
Visual C++ convert parameter 1 from 'char [256]' to 'unsigned short *'
does any idea for convert parameter 1 from 'char [256]' to 'unsigned short *' any suggestion from char * to unsigned short * and i would like to provide some sample code let everybody look at it Code: int EngError(char *function, int code, char *format) { char args[256],msg[1024]; if(gErrorPrompt == 0) return code; wvsprintf(args,format,(char*)(&format+1)); sprintf(msg,"[%s %d] : %s",function,code,args); MessageBox(NULL,TEXT("msg"),TEXT("WinError"),MB_OK); return code; } You have mixed the ANSI&Uni ...Show All
SQL Server Cannot figure out how to write this script?
Hi was wondering if somebody could help on this one. I have a table called LocalisationText and a field called "ResourceText".After localization bad data went into the ResourceText field (double and triple quotes instead of singles). EG Entrada ""{0}"" en ubicacion """"{1}""""" 在或大 ""{0}"" 的命令出 User Post Code Group of Type ""{0}"" is ""{1}"" Now I have been asked to write a script that converts all the double/triple quotes preceding {number} with single quotes . The above corrected should look like Entrada "{0}" en ubicacion "{1}" 在或大 "{0}" 的命令出 User Post Code Group of Type "{0}" is "{1}"   ...Show All
Visual Studio Express Editions How to use "For Each" with a dictionary
I've just started playing with dictionaries. I have been able to iterate through a list using the "For Each" construct, but I have not been able to do it with a library. Any suggestions would be appreciated. For Each x As myObj In listContact '...code to process each x Next Dim dictContact As New Dictionary(Of Int32, MyObj) '...Add lots of Keys and MyObjs to dictContact, then For Each x As MyObj in dictContact '...code to process each x Next This attempt at using the "For Each" for the dictionary won't compile. Thanks. For Each x As myObj In listContact.Keys For E ...Show All
Visual Studio Team System Question regarding Unit Tests, and daily builds
I have a test project in my solution- and I am not able to understand how it throws binaries in the folder TestResults\username_systemname_data_$$\Out\. To elaborate: My test project runs fine on my machine, and produces the desired binaries in the folder TestResults\username_systemname_data_$$\Out\, and my Unit Tests pass. However on the team foundation server where I run my daily builds, it is not producing all binaries in the folder TestResults\username_systemname_data_$$\Out\., and hence my Unit Tests fails. If I can understand how it throws binaries in the folder, may be I will be able to get the right binaries there and have unit tests ...Show All
Software Development for Windows Vista Persisting layout for State workflow in designer control
Hello, is there a way to persist the layout of a state workflow in the workflow designer control sample I can persist the Xoml to file and re-load it, but when I do all the states are drawn on top of one another in the top left corner of the view. Vihang, I mean using the visual studio extensibility sdk to create a custom project type, which would show up in new projects dialog in the VS ide. This project type would extend or modify the standard workflow project type. It would, in particular, be able to specify the activities that are available in the tool box, have full access to the root ...Show All
Visual Studio Express Editions MDI Closing RCW Error
This one has got me completely stumped !! I've got a MDI window with mulitple forms inside, as a merged menu item I have Close window (on the Child) that appears in the MDI forms file menu list (this all works 100%). Now, if I click the close menu it fires the event handler in the child forms menu handler and executes a simple Close.Me function (that also works 100%). So what's the problem Okay, I want to spice up the menu a bit so I've put a shortcut key in there too, but if I press the shortcut key I get an RCW error: RaceOnRCWCleanup was detected Message: An attempt has been made to free an RCW that is in use. The RCW is in use o ...Show All
.NET Development Dataset As Parameter
Hello! I would just like to ask if there's a way to make a dataset a stored procedure parameter without looping through all the rows in the dataset Thanks guys! Hi, It can not be done as easily - but there are workarounds. Take a look at the following links: http://www.codeproject.com/cs/database/PassingArraysIntoSPs.asp http://vyaskn.tripod.com/passing_arrays_to_stored_procedures.htm /Solvej ...Show All
SQL Server SQL reporting services 2005 with CLR
Hi, I am trying to use reporting services 2005 with a VB SQL stored procedure that i created in visual studio using CLR. The stored procedure was created successfuly in SQL server but while linking the report to the stored procedure, i am receiving the following message "An error occurred while retrieving the parameters in the query. The stored procedure 'mysp' doesn't exist. Thanxs in advance No i didn't my sp is: Dim command As New SqlCommand( "SELECT * FROM BDLC8PF" , connection) Dim reader As SqlDataReader reader = command.ExecuteReader() ' SqlConte ...Show All
