Imported Icons From VS 2005 Image Library Dont Look Right
Jan 28, 2009
I imported icons from the VS 2005 Image library and they look kind of weird. I have it set on 16-bit color. The icons in the toolbar look fine but the rest don't look right. Has anyone had this problem before?
I have a program that can view different images selected by the user off of their hard drive. How can I have it so they can then save that image to a different place on their hard drive using my program.? I don't know much about saving files in VB.
I'm a newbie to VB 2008 Express. I have a treeview to which I'm trying to add icons. I've added the icons to the treeview images collection, and I've put an imagelist on the form and added the icons to the listview images collection. I can't seem to work out the syntax required to show the icons.
i have a question regarding the icons for applications.Is there a way to set an icon for an application in .net installer and not include it sepparately in the application folder but rather embed it to the application ?I mean i saw in the registry for some applications the icon set to application.exe,0 What does ,0 mean ?
I'd like to move my images / icons and wav files (basically, almost all of my internal resources) from an existing project (VB 2005) and put them in an external dll, then reference this from my exe and call the relevant resource as required.
What would be the best way of doing this?I understand that I should create a ClassLibrary and put my resources in that, but how should I expose those resources to an external program and how should I reference and call the dll from my exe?
I've done some searching, but not found anything that seems to explain the process adequately enough.
"Getting a list of system tray icons/programs has been a thorn in my side for the past year can get the list as long as explorer is running, but the second explorer is closed, the list will not populate. I'm frustrated beyond belief that I can't find the proper API calls to get the information. If anyone knows how to do this, PLEASE share it here!! I know it is possible, because other shells do it. -Ray"
this topic has been touched multiple times on Stack Overflow, but my search still did not give me an answer.
I'm looking for a SIMPLE and easy to use, very basic, image editing library. All I need to do is check the size of jpeg and png files and rotate them by multiples of 90°.I can develop my app in VB.NET or preferably VB5 and I'm not using any other library.
I tried the Advanced Image Library (based on Free Image Library), but I can't get the dll to correctly register and I'm afraid that I will also have problems when distributing the application.Is there something simpler? If it's not free it's fine, as long as the cost is reasonable.
TortoiseSVN and Dropbox both have Windows shell extensions that make file icons within Windows Explorer show a small icon beside the main one, showing the file's status - has it been synced, etc How can I make my application show icons beside files like that using the Windows API? Or is there some file attribute to do that?
I have dowiloaded vb 2008 express and cannot find the msdn image library. I go to where the intellisense tells me to go and the image folder is empty. Is there a way to download the appropriate library.
I am going to write a long code in the class library to make the source code shorter for my project. And I willing to store the url strings in the class library, but I do not know how to keep them to be more visible from people who open the dll by using with hex editor. I would like to know in which method that I should use to protected the url strings in the class library and set them more visible so no one would know what url strings that I would store in the class library if people using hex editor?
I have created a Class Library project to create a VB.net 2005 DLL file. I am trying to access My.Settings in this class library project and not able to. How would I do this?
I'm building a generic Class Library that I will use it in all my projects. However, I want to know how can I access Resource file from a Class Library?
I am trying to create a text to speech program that can speak in a female voice and also have the option to save to a WAV file. I have found some code out there using the Microsoft Speech Object Library. but I can only get it to speak using a male voice. Can't seem to find a way to add a female voice. Things I have found says there should be at least a male and a female voice loaded but only the male voice is there. Also, on my PC, i have the SAPI DLL in the C:Program FilesCommon FilesMicrosoft SharedSpeech directory and when i right click and check its properties it says it is version 5.1.4111.0....but when my project is built, the Interop.SpeechLib.dll that is created is version 5.0.0.0.
The code I have is:
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Voice As SpeechLib.SpVoice
[CODE]...
Which speaks fine with the male voice. Haven't attempted the saving to a WAV piece yet since i can't get the female voice.
I've been searching for hours tonight searching existing posts, other websites and all i can find are examples of how to capture a image from a webcam.Does anyone have any code that simple talks to the camera device via WIA, and then saves every image found on the device to a hard drive?I found this code below. Credit i cant tell you as i have a bunch of different flavors of code, but this only saves the file as a tmp file, and not the actual image file i expected after selecting?
I am trying to open an Excel file using the following commands:
xlsWB = xlsApp.Workbooks.Open(filename, , True)
where 'filename' is the name of the file.However I am getting the following error message:
Message = "Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))"
I originally developed an application where I used the above code with default language setting of "English" (under regional and language settings). When I am changing the language setting to "French", the above errror comes up. I am changing the language setting to French in order to simulate an error when this application is run in a French version computer.
I have a Visual Basic Class Library project. It generates a DLL. Is there a method to generate a static .LIB to which I can do a static link?Alternatively, can I do a static link against a DLL?
i am using PostMessage API to send text to another app but the prob. is i want which key is pressed and it not write to the app for example.If a person is writing to notepad he pressed "H" but it will not write H and the key will be stored in my program i am using keys.H for this for reciving but i dont know how to not write the key which he pressed.how to use it which api or code to use.
I have adapted a connection string i used alot in vb6 to what, after much research i think it should look like now. I added some code to a button, i dont get any errors and no result in the textbox.[code]