Answer Questions
Rajeshsv Creating Office COM Add-Ins with Visual Basic .NET article - need help
Hello, I'm new to this type of programming and have found myself put in charge of a couple of applications that were created by a previous employee. So now I'm learning how to do this. I found the article listed in the subject on the msdn site and found it very informative and easy to read. I thought that the instructions were very much to the point and that there wasn't any confusing jargan put in. Unfortunately, after following through the ...Show All
Dewa Open
Can someone tell me how to open an application manifest if you do not have .net on your computer. Here is a link to my setup. Can someone test it on their comp to see if it works and if it doesn't whats wrong with it http://www.freewebs.com/jrcdude/program.htm It's just XML, use notepad. Will I have to buy a copy of Visual Basic .net to downgrade ...Show All
diavo Populating per like statement
I have a large Access table with words, definitions,... what I have been trying to do for too long is to type a word pattern (p r or t n* ) in a textbox and after a button is depressed to have a datagrid populated with words similiar to what is requested. I have utilized the data source wizard to add the source, added the adapter, binding source and dataset. I have dragged the datagrid into the form. when started it populates. Then i added ...Show All
PhilCox taking 15 to 20 seconds after pressing enter key to move to next line
Hi, I am upgrading code from vb6.0 to vb.net. I am usning visual studio 2005 for that. I am having problem with IDE, every time I hit enter key it is taking 15 to 20 seconds to come to the next line and task mangager shows 100% cpu utilization. I also had the problem with slow typing which I removed by disabling the navigation bar option from the tools->option->texteditor->general. My machine's configuration is IBM Thinkpad 187 ...Show All
kokopelli2305 vb express + winsock api problem
hello, i try to use the winsock api in my program but when i call the WSAStartup from ws2_32.dll i get an Access Violation Error (could not read/write protected memory). I want to replace the System.Net.Socket because it causes some problems with packet loss/fragmented packets. (when the remote server sends many packets, the socket puts them in one big packet which my program gets at the end of the async receive. This way the big packet has to ...Show All
zainshah May i know what happen here??
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Image = "1.JPEG" Label1.Text = "what text" End Sub when i clck this button, the text "what text" will appear. but the picture stil can;t be display. the error showed is " value of type string cannot be converted to 'System.Drawing.Image'" May i know what happen> c ...Show All
technobia Use %USERNAME% in System.Diagnostics.Process.Start
How Do I use %USERNAME% in System.Diagnostics.Process.Start Or if there is an equivilant please tell me. If not , What I am trying to do is a launch an application from "C:\Documents and Settings\%USERNAME\Start Menu\Progarms\My App\App.appref-ms" Thanks Have a look at the Environment.ExpandEnvironmentVariables method. Dim UserName As String = (Environment.ExpandEnvironmentVariables( ...Show All
WishYouWereHere (NEWB) Using .split()?
VB express '05 Beta I have a large string (about 40 pages worth of data) That I need to parcel into smaller chunks, there are repeating markers in the data that I want to use as delimiters. txtimp is the large raw string, and hand() is the string array that I want to have the data chopped into. I'm using: stray()=txtimp.split("Data") But, It is only searching for "D", not "Data". There are frequent D's in the text, so ...Show All
LA-3243 Jerry How to scan files for a virus programatically
hi guys, I have an immediate requirement in my project.I need to scan any file for virus.if a virus exists then that file should be deleted and not saved in the server.this should be done within the code.plz any help in that would be appreciated Netsoft MCP Hello there , I wonder How hotmail check files ...Show All
sarel206 Is it possible to generate a solution with a class library in it using codeDom?
Hi, I am writing some sort of codeGenerator and it would be perfect if i could also generate a class library project or solution rather than generating only the classes. Is this possible Cannot find an example anywhere. I have seen code generator that they do this .How do they do it Just for clarity i am NOT refering to generating a dll or executable I am refering to generating a class library project or solution . NOT ONLY THE CLASS. Co ...Show All
Vincent 0 Datagrid with Combobox column - Null values
Hi all, I've done some programming before but am new to VB 2005 and to databases. Up until now I've managed to solve all my problems by gleaning information from MSDN and other web sources but this one has get me stumped! I have a DataGrid bound to 'WireList' table in a database. One of the columns in the DataGrid is set as a ComboBox bound to 'Terminal' table in the database. The idea being that the user can select an item from the Com ...Show All
KentNguyen WebBrowser Navigate Problem
I am writing an application that randomly switches between showing images and displaying the home pages of various web sites. When the timer is triggered, I generate a random number. If it is less than 0.5, I show the home page for a web site and if it is greater than 0.5, I show an image. When the application starts, I create a list of web sites and a list of images to cycle through. The image part works just fine but I am having a proble ...Show All
Skizznott Opening empty file as XMLDocument
Hi, in my form load I'm looking for an xml file and if it does not exists then I create it. But wen I try to open it as an XmlDocument it popups an error. I thik its because the created file is empty. Could I add the line " < xml version ="1.0" encoding ="utf-8" > " to the file on its creation and how Here's the code : Private Sub Form1_Load( ByVal sender As Object , ByVal e As S ...Show All
MStrange Installed Printers in 2005 beta 2
I am trying to get a list of installed printers. I added a form and a printdialog1 and the following code: Dim i As Integer Dim pkInstalledPrinters As String Dim printdoc As String For i = 0 To PrintDialog1.InstalledPrinters.Count - 1 pkInstalledPrinters = PrinterSettings.InstalledPrinters.Item(i) comboinstalledprinters.Items.Add(pkInstalledPrinters) Next For Each pkInstalledPrinters In PrinterSetting ...Show All
PaoloQuadrani C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax The biggest problem comes from trying to recognize these characters from the comport. what about job opportunities and $/hr differences so, which does he say to choose I have never worked with serial communications and don't know much about them. However, if you ...Show All
