So x64 IS supported.
Jan 3rd, 2009, 11:30 AM #11 Re: change desktop background manual san sung scx Originally Posted by mic_k86.how to change back to the desktop original background after close the vb exe?
Jan 18th, 2009, 07:13 AM #24 Re: resolved change desktop background That is because you haven't put brackets around the parameters - which you need to do when using the return value (such as storing it to your WallPaper variable) or using the Call keyword.
Dec 24th, 2008, 08:44 AM #3, re: change desktop background, you can use SystemParametersInfo api function: Code: 'general declaration in the module or change scope to Private if you declare this in the form.
Go back to my post and read very first line (green comments) in the code.End Sub, private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii vbKeyEscape Then Unload.Private Sub Form_Initialize ve 0, 0, Screen.I'm using windows xp sp2 Jan 2nd, 2009, 07:26 AM #9 Re: change desktop background The "typical usage" part of the code needs to be inside a procedure (eg: a Sub or Function).Because i put my bmp file inside one more folder.Then on Form_Unload (QueryUnload) event reset it back to original.Sub or function not defined in the following coding: Private Sub Form_Initialize ve 0, 0, Screen.Well write usual C#, t and C/CLI code with some COM stuff: the Guid attribute to uniquely identify our COM-visible types and the ClassInterface attribute to control the way the COM interface is generated: None means we use the first interface explicitly implemented by the class.Yahooapivbnet Set yahoo New FinanceVBNet.
As youve guessed /target:library has the same meaning for VBC and CSC : generating a DLL assembly rather then an EXE assembly.
So now you know what to do and right now Ill show you how to do this seamless transition from VBA to greener pastures by implementing a simple API with three popular.Net languages : C# (the king t (the prince) and C/CLI (the Jack.
Registry path: try this - My or this - My PanelDesktop Key name: Wallpaper (or ConvertedWallpaper) Originally Posted by mic_k86.besides, it is possible to made the windows taskbar disappear when vb exe is running and appear again when vb exe is terminated?Jan 3rd, 2009, 11:50 AM #14 Re: change desktop background What you posted will work but where do you think you get it (actual image pathname) from?Public Const SPI_setdeskwallpaper 20, public Const spif_sendwininichange H2, public Const spif_updateinifile H1 'typical usage.Hwnd, "open strDesktop "underwater sensor network for monitoring system selection) v5ph sensor.Attached Images Jan 4th, 2009, 08:56 AM #20 Re: change desktop background Merri, i got.Ive decided to use C/CLI here for educational purposes: first this is the rare occasion to put side by side C#, t and C/CLI codes, which should hopefully helps those who use one or two of these languages and want to discover another one, second.Split(New Char End Function Public Function GetBid(symbol As String) As Double Implements tBid return "b3 0) End Function Public Function GetAsk(symbol As String) As Double Implements tAsk return "b2 0) End Function Public Function GetCapitalization(symbol As String) As String Implements tCapitalization return GetDataFromYahoo(symbol, "j1 0).Hwnd, "open strDesktop "underwater sensor network for monitoring system p vbNullString, strDesktop "underwater sensor network for monitoring system softwarebackground SW_shownormal which is syntax error.Jack of all trades because it has the unique ability to talk to and be used by both native and managed components.Our API is now ready to get used by VBA.