drhesq's Q&A profile
Software Development for Windows Vista where can i download "wlanapi.h" file?
Hello. Couldy you help me when i try to build, following error occurs. ==> Error 1 fatal error C1083: Cannot open include file: 'wlanapi.h': No such file or directory ... where can i download "wlanapi.h" file You need to download and install Windows SDK: http://www.microsoft.com/downloads/details.aspx FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf&DisplayLang=en ...Show All
Visual Basic Getting list of all subfolders in a directory
Hello. I am trying to find out how to write some code that'll allow me to get the folder names of every folder existing in another folder. I know how to get the names of directories immediately within the main folder, but how do I make it so it'll return the names of every folder in there (including subdirectories for all the found subdirectories) until there are no more folders in existence. I thought about just writing something so it'll put all the immediate subdirectories in a list, and run through that list one by one accumulating more folder names until it gets to the end of that list, but I guess I was hoping there was some other ways I wasn't seeing. Thank you for your help. Your going to need to ...Show All
SQL Server Editing in Querry Analyzer not in EM
Hello, In SQL if we want to edit a row in a table then we have two ways to do the same, 1. Execute a command to Update the records in sql through querry analyzer. 2. Go to enterprise manager and then open the table and update a new row. But can't we do the editing in the querry analyzer is there any way to do this. That means i select all the records from my table using the following querry. Select * from MyTable and then performs editing in the querry analyzer without executing any update command and without using the Enterprise manager. Can we do this Bye and TC I understand your issue... If the table has duplicate rows then it wont allow to edit in QA. (it will allow to edit other tables, ...Show All
Visual Studio 2008 (Pre-release) MS Interactive Designer
Here's the question. Is there gonna be some kind of "MS Interactive Designer June CTP" available It's not a secret that code-name "orcas" is not really usefull while talking about creating rich user interface (gradient brushes, pathes etc) After migrating to Windows SDK June CTP there's the need in Interactive Designer... It was posted yesterday. I've just downloaded it. http://www.microsoft.com/downloads/details.aspx FamilyId=B8557886-C1BE-43F8-BCF8-5DE4CB5675AB&displaylang=en Good luck Michael ...Show All
SQL Server I am getting error Subreport could not be shown
I am trying to call a subreport in master report, if i try to run the sub report individually by passing hardcoded nonqueried values in the parameters it runs fine, but when i use it as subreport in a master report, it shows the error: subreport could not be shown, In my subreport i am using the table control to populate all fields is there something to do with table control or i am calling the subreport control in the detail pane of main report, and all main reports fields are in the group header. Please help. error info: from error list: Warning 1 [rsErrorExecutingSubreport] An error occurred while executing the subreport ‘subreport1’: One or more parameters required to run the report have not been specified. c:\aspnet\ccsrep ...Show All
Smart Device Development why combobox selectedIndexChange event not fires in SmartPhone2005?
Hi, Please let me know why combobox selectedIndexChange event not fires in SmartPhone2005 when navigate in combobox please help me. Thanx Owais Hello Owais, Would you please tell me how you test your applition (on emulator or device) If you test it on emulator, using mouse to select items in combox will not come to raise this event. Best Regards, Zero Dai ...Show All
SQL Server Stripping out numbers from a string
Hi I have a field that starts with numbers and then has a description after if, eg. "123 This is the description for string 123" 1. How would I go about stripping out the first instance of number to leave the string as "This is the description for string 123" thanks. Bill Bill: Maybe something like select replace ('123 This is the description for string 123', '123', '') or select ltrim(rtrim (replace ('123 This is the description for string 123', '123', ''))) Dave ...Show All
.NET Development .NET Socket implementation
Hi, I'm new to asp.net web application and also socket programming. I need help on socket programming. I want to create a asp.net web application page that can connect to the server using socket and for the data access part I need to use xml for communication between the server and the client applcation. The server connect to three databases and it acts as a middle man between the client and the database. The server is a program written in java. How am I suppose to do the socket programming inside my web application. Can anyone help me with that I really need help... As I can't find any good example on socket programming. Please help... Snow Can you be specific. Do you see any error if so what's ...Show All
SQL Server Deployment error: Expected C.0.8.43
We are trying to deploy a report server project from an XP Dev box to a Server2003 production environment. Both computers are running SQL Server 2005 with SP1 installed. We have tried to deploy by (1) a deploy over the network and (2) a database backup of the ReportServer database and then a restore to the Server 2003 system. Both methods give us exactly the same error... The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.43'. To continue, update the version of the report server database and verify access rights. Why are we getting this error Regards, Gary C ...Show All
Smart Device Development Displaying version information of an application dynamically in vc++
hi Everyone, I have a smart device mfc (vc++) dialog based application. I have a requirement of displaying the version information of my application (exe) dynamically. Could anyone guide me as to how i need to go about it I have seen something like version in the .rc file of the application. Can I use it to my benefit thanks in advance cheers Regards Kulkarni The version information is a part of the resource data. You can edit it in Visual Studio Resource Editor (double-click on .rc file in your solution) To read it programmatically use something like: DWORD dwHandle, cbSize; cbSize = GetFileVersionInfoSize(" \\Path to your executable " , &dw ...Show All
Visual C# How Can I create Windows User Account by calling WMI method to do that ??
Hi How Can I create Windows User Account by calling WMI method to do that I know that I can create windows user account by using [System.DirectoryEntry] Class as this artical in microsoft support website http://support.microsoft.com/default.aspx scid=kb;en-us;306273 but my question is to create the Windows user Account using WMI methods , How Can I do that and thanks with my best regarding Fraas sorry for the delay, im still in the process of restoring my system. I appreciate your patience. for now, if you understand WMI Scripting/vbscripting here is the code for it, perhaps you would like to take a shot in converting it to C# strComputer = "PUT COMPUTER NAME HERE" Set colAccoun ...Show All
Visual Studio Automating opening of a Website in VS2005
Hi I like to automate a process of opening a website in VS2005. ie i want to automate the folowing manual action. File -> Open ->Website (location could be passed) How could i do It would be helpful if i could get reply ASAP. Thanks Natarajan Arumugam The following code worked as expected. VsWebSite.VSWebPackage webPkg = (VsWebSite.VSWebPackage)DTE.GetObject( "WebPackage" ); webPkg.OpenWebSite(path, VsWebSite.OpenWebsiteOptions.OpenWebsiteOption_None, false); Thanks Natarajan Arumugam. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Id like to get into programming.
Id like to get into programming. I would like to play around with this.. But is there enough tools and info and such out there now for a newer programmer done scripting before also used darkbasic think called ages ago made some simple programs :) Wanted know though this good way for someone learn... Also this dev kit and such so i can make a game play on the 360 correct Joran Omark wrote: Yes, you can play you game on the Xbox, currently for a fee. Yes, it's a good way to learn C#, if someone holds your hand in the beginning. A good place to start might be XNAtutorial.com , if you're a visual person/like to listen. If you are a reader, xna101.net is probably more up your alley. ok ty ...Show All
SQL Server How to restrict a custom component to be used only in the event handler tab?
Hi, One of my plan is to develop a custom task compoent to log the errors into the destination provided as paramter to the component. Now how can I restrict the use of this component in the event handler tab only. can something like this be done Also extending this a little further, is the below thing possible The custom component should expose custom properties which should allow the user to add the destinations for logging the errors. It will be a predefined list (window event log, text file, sql table etc) and the user will be allowed to check what all he/she wants. Then if the user has selected sql table then ask for the oledb connection and the table name, if text file is selected the ask for the path of the file. Apology ...Show All
Visual C++ random numbers
I have recently been trying to get the random number generator that comes in the default libraries to work.. I can't get the rand() to acctaully create a real random number to my wanted parameters. For example if I say wanted a number between 1 and 10 I would try: int random_value random_value = (rand()*10)+1 I would then be able to use that random number for switch processes etc. The problem is that the number is not random, the random number is always the same, with any one particular seed. Please is there another easier way of creating random numbers that are really random. I believe that it is possible to use the date as a seed which is always different, but I want a random number between 1 and 0 so t ...Show All
