BuzzBar's Q&A profile
Software Development for Windows Vista Passwords for Vista Logo testing users
It is probably right in front of my face but I cannot find the info. Setting up the test systems, i run the createlogousers.cmd and it creates a bunch of users. What is the password for these users Thanks. Regards, Kelly ...Show All
Visual Basic 'HWND *hWnd' parameter in vc++ 6. 'ByRef hwnd As Any' parameter should now be ????
int EXPORTED foo (long iX, long iY, HWND *hWnd ) is the vc++ 6.0 function. Public Declare Function foo Lib "foo.dll" ( ByVal iX As Integer , ByVal iY As Integer , ByRef hwnd As Any ) As Integer is the vb6 function declaration. What should be my VB.NET 2.0 function declaration for that same vc++ 6 method Thank you, -greg I notice the <Out()> What is the purpose of that IntPtr sounds right Abel. That is what I have been seeing as the solution. Thank you. -greg A platform-specific type that is used to represent a pointer or a handle. The IntPtr type is designed to be an integer whose size is platform-specific. That is, an instance ...Show All
SQL Server Proc for Time dim in AdventurWorksDW ?
Is the stored proc to build the time dim table for AdventureWorksDW available somewhere ...Show All
SQL Server Export
Hi! How I can restrict list of export formats for custom reports E.g. "Production report" requires only XLS and PDF formats in the list. Is it possible ...Show All
Visual Studio Express Editions I need some help updating a Dataset when changes are made at the source
I'm trying to create an application that will have multiple users working off a table on a SQL server. Since multi users will be updating different records at any given moment, how can i get those changes and merge them into my current Dataset. I've been playing around with the GetChanges method and Acceptchanges but they just dont seem to be pulling over the changes and updating my Dataset. Maybe if someone could give me a sample of Code to use or try, anything is appreciated. Here is what I'm trying in my code but doesnt work. Try Me.AccuLogic_SQLDataSet.GetChanges() Me.AccuLogic_SQLDataSet.AcceptChanges() Me.Collect_Work_List_BackupTableAdapter.Update(Me.AccuLogic_SQLDataSet.Collect_Work_List_Backup) M ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Easy question - refer to base variable from a component
Hi, I know I'm going to kick myself when I see how to do this... but hey here goes - if I set up a public variable in my main game class, how do I view/use it from inside a component I'm using the default Component code from doing a new>GameComponent btw. I figured I'd just be able to do game.myVariable or similar, but I can't get the component to know anything about variables or methods in the class that created it. Cheers :) If you want to keep the component architecturally separated from the specific game subclass, the way to do that would be to publish the property you want to access as a service, using an interface that could potentially be implemented by any other game. That's the pattern we use ...Show All
.NET Development Download and import a zip file from Internet
Does anyone know the best way to download (it would be rather peeping since I dont need to save it) a zip file from Internet, and using it to import to my webapp you can use the WebClient/FTPWebRequest/FTPWebResponse classes to get directory listing.... this is new in .NET 2.0 http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx http://msdn2.microsoft.com/en-us/library/system.net.ftpwebresponse.aspx a quick small example to get directory listing: NetworkCredential theCredentials = new NetworkCredential(" username ", " password "); FtpWebRequest theRequest = (FtpWebRequest)WebRequest.Create(" ftp://blah.com "); theRequest.Credentials = theCredentials; theRequest.Method = We ...Show All
Visual Studio Express Editions Sendkeys to a program
I know how to use Sendkeys to send a key to the active program, But i want to know how i can send a key to a selected program, which isnt active. (for example notepad) i hope somebody knows the answer, and if you do, can i use it with multi program support (if there are more notepads open, so i can select which process) Thanks! Chris I'm unsure about this however I believe you would have to use the Win32 API to FindWindow and SetForeGroundWindow on the handle of the application you are after to send keystrokes to it. I think this could be the only way but do not quote me. you would need: SetForeGroundWindow FindWindow API to do this. http://www.pinvoke.net/default.aspx/user32/FindWindo ...Show All
Windows Forms ClickOnce error - "Value does not fall within the expected range."
I've seen other messages with this problem but I haven't seen a fix for it... I started having this problem yesterday. I had made some changes to the application in question and published the new version, then discovered a problem and published a newer version soon after. When I tried to run the application it informed me of a new version and I clicked yes to download. I immediately got the error. I uninstalled the application and tried to reinstall from the htm screen on the published site and got the same error on install. The "+ Value does not fall within the expected range." message tells me nothing. Help! Error info: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.4 ...Show All
Visual Basic URGENT! hw can I save/retrieve document files from desktop via vb.net into sql database
Hi, Anyone knows how to get a document file from the desktop or any plug-in devices(example: ext. harddisk) via a vb.net application and save the document file to a sql database. Then after, another person on another computer can retrieve the document file from sql database via vb.net application and save it on his/her desktop. Notice: The other person doesnt have the document file on his desktop. The document file must be retrieve from the sql as a whole document. example: a Word Document. Please help me with this. Regards, Melvin Hi, i'm currently trying to do something similar. The following links should explain to you at least how to write the file to the db (It worked for me): http://support.microsoft.com/defa ...Show All
Community Chat Firefox 2
Yay! firefox 2 is being released at 8pm today!! Hooray! just thought i would let you know... That's an interesting observation. Most websites are designed to be IE compatible. It's not a great situation for 3rd party browser vendors, who might have functionality that would make a richer experience. I think in terms of User interface, and in my opinion, IE7 and Firefox are pretty much on par. If this is truly the case, you wonder why people should want to have two different kinds of browsers installed on their Windows box. ...Show All
SQL Server Can you please help me on this?
I have a table like this: Item QUAN ---------- --------- 2 30 3 5 ...Show All
Windows Forms Custom Action dll in C#?
Is it possible Getting entry point not found when building. http://msdn2.microsoft.com/en-us/library/d9k65z2d(VS.80).aspx ...Show All
Visual Studio 2008 (Pre-release) Hyperlink Style
How to remove the underline in Hyperlink object by providing style. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=864982&SiteID=1 ...Show All
Visual Basic playing a media file, and then waiting
Hello I am writing an application where I want to play a wav file using windowsmedia player from inside VB. After playing this file, I wish to have my VB program wait a bit until the wav file is played, and then continue on with the next command. So what I did was place a System.Threading.Thread .Sleep(3000) so buy my self sometime. However, the sound file is not being played at all and all i see is the wait happening. what am I doing wrong how can I implement what i want to do thanks Shyma Mohaisen you could make a playlist and play the files through that. you could also play the wave file via the System.Media.SoundPlayer class however it will only play a 3 second (ish) wave file and will be running in the same ...Show All
