Software Development Network Logo
  • Game Technologies
  • Windows Vista
  • Microsoft ISV
  • Audio and Video
  • Windows Forms
  • .NET Development
  • SharePoint Products
  • Visual FoxPro
  • SQL Server
  • IE Development
  • Visual Studio
  • Visual C#
  • Visual C++
  • VS Team System
  • Smart Devicet

Software Development Network >> Visual Basic

Visual Basic

New Question

i asking for devloping in vb,net
Setup Wizard in VB 2005 Standard SP1
Scan for open ports
Formatting/Coding
Error while using Installutil for installing windows service application.
adding local html files to winforms control at runtime to read with browser.
copying a Uint16 array
shaped controls
Is there an easy way to move from control to control
games...

Top Answerers

Joymon
Aaron Oneal
yabansu
Spangltk
Dmitriy Agarkov
HSBF Lewe
Venkatroyal
Julio Diaz C.
Gurpreet Singh Sawhney
tackett
CJR Daily
Only Title

Answer Questions

  • Tara H Exposed types defined in Referenced class library are not CLS-compliant

    Hi, Hope this is the right forum for this. This problem has occurred for me using Visual Basic under VS2005. I'm trying to split a large project into several smaller class libraries containing classes that need to be used in other projects. I've taken two of my classes and put them in a Class Library project, then excluded their files from the original project, built the Class Library dll and then added a reference to the dll in the orignal project. After adding "Imports" lines to all of the affected classes, the project works fine again, but in all cases where the now-external Types are used (method arguments, object properties, etc.), I'm getting warnings that the objects are no longer CLS-compliant. Presumably t ...Show All

  • Paul-I Custom Event [ASP.NET VB.NET 1.1]

    I'm trying to write a custom event but am having some difficulty doing so. My problem is that I have the event declared and raised but I am having problems figuring out how to write the event handler. For some reason I can't do "Private Sub SomeName Handles EventName" in the Visual Studio IDE. Here's my code that I have so far. ----------------------------------- Imports System.Data.SqlClient Public Class Common Private _command As SqlClient.SqlCommand Private _connection As SqlClient.SqlConnection Private Event NullResult() Public Enum Completed No Yes End Enum Private Property SQLCommand() As SqlClient.SqlCommand Get Return _command End Get Set(ByVal Value As SqlClient.SqlCom ...Show All

  • Fred Herring C:\Documents and Settings\...\My Documents\Visual 2005\...\bin\debug\Reports *Spaces will not let me open .doc file in word*

    Hi, if someone on here could help me, I'd really appreciate it. I am currently building a program that will be able to open excel and word documents in their appropriate programs. Heres my code: Dim Job As String = txtJob.Text Dim str2File As String str2File = "" str2File = Application.ExecutablePath str2File = str2File.Substring(0, str2File.LastIndexOf( "GaugeHelper.EXE" )) Dim wordstart As New Process wordstart.StartInfo.FileName = "winword.exe" wordstart.StartInfo.Arguments = str2File & "\Reports\" & Job & "\" & Job & ".doc" w.Start() I can get it to work, except for one thing, When you use the common folder name \Documents and Settings\ Word will try to ...Show All

  • tviel String problem

    Here's a newbie question: I'm trying to concatenate several strings into one long insert statement string. That works fine until the string reaches 250 characters. After that only one character is added and that is not the next character I want to add. I didn't think the string datatype in Visual Basic was restricted to 250 characters. My code goes something like this: sqlstmt = "INSERT INTO " & TableName() & ".KLV32001 VALUES (" sqlstmt = sqlstmt & ToDBText(C_BRUKER_ID) & ", " sqlstmt = sqlstmt & CLng(cIUS.Til_avtale) & ", " sqlstmt = sqlstmt & ToDBText(aDate) & ", " sqlstmt = sqlstmt & ToDBText(atime) & ", " sqlst ...Show All

  • tribal ToolStrip help

    I was wondering can i link another document to a item in a dropdown menu on the tool strip because i've made a about box in visual basic 2005 express edition and was wondering if i could link it to a item on the dropdown menu on the toolstrip, can anyone help me please thanks i'm sorry but that still dosen't answer my question i wouldstill like to be able to open my about box from the toolstrip component. Can you explain what you mean by "linking to a document". Do you mean you want the message box to show when you click on the item What you want to do is handle the Click event on the Toolstrip menu item. In the handler startup your about box. Here's a quick and dirty sample. What i mean is say if i ...Show All

  • SP534 Timer and ArrayList

    Hi, I have an array list which I would like an event to be triggered for each item in the list at a timed interval. eg; item(a) item(b) item(c) after 5 seconds a message box with item(a) will appear after 5 seconds a message box with item(b) will appear after 5 seconds a message box with item(c) will appear Is there a simple way of doing this with VB .Net no worries, glad it works for you! :-) Thanks to whoever marked the answer....I hope it does work for them however Thank you! It's just what i needed. well you would have to know the last position that was used to get the item from the array, so perhaps make this a global scoped variable, som ...Show All

  • Duckocide TextBox & ComboBox Autocomplete

    Can I force the user of my program to strict to the list of autocomplete feature of a textbox and a combobox I want the user to use just the items in the autocomplete list VB2005 thank you I know that and I use it but I want a control like the combo box in microsoft access whe you set that values to be fetched from a table and you use strict to menu the user can type in the text section of the combo but in this control you can't do that Hmm, Windows already has a control to do this: ComboBox with DropDownStyle = DropDownList. Why reinvent the wheel - No not working for combobox - I want It for a textbox as s ...Show All

  • tviel User Control problem

    I have a UserControl which basically shows in a textbox the content of a row in a table relationally linked to another table in a database and also a combobox containing the contents of that second table. This mean that as you travel through the main table you can see what the linked text entries are and have a combobox when entering a new record. I started the table in VB.NET 2002 and upgraded it to VB2005 Express and have been using it successfully for some months.So, it has saved considerable code and added to my VB skills. However, having recently discovered the MaxDropDown size property for the combobox I wanted to add a line to the UserControl to fix the MaxDropDown size to be the size of the records in the table it accesses. T ...Show All

  • DaveRogers Timer Events Not Firing in Windows Service

    Hi All: I am trying to upgrade my vb.net 2003 windows service project to vb.net 2005. The 2003 project runs great and the timer events fire; however, the 2005 timer events in 2005 will not. Same code - just compiled with different versions of vb.net Any ideas Doug. That did the trick - thanks! Doug. Could be a bug on the upgrade tool - I'd check if the timer is still enabled after the upgrade. Windows services probably don't have a message pump, which I think the timer under system.windows.forms depends on. Hi Alex: That was the first thing I checked ;-) Doug. One thing you may also want to che ...Show All

  • Sreekk Printing the whole form, and not just the visible part

    Im sorry if this has been posted before, but im desperate for an answer. The problem I have is that I want to print the whole contents of an mdi children form, but im just getting the visible part. What I need is a method to print even the part that you need to scroll down to see. As it is now, im using this subroutine to generate a bitmap of the form. Private Function GetFormImage() As Bitmap ' Get this form's Graphics object. Dim me_gr As Graphics = ChildForm.CreateGraphics Dim s As Size = ChildForm.MaximumSize 'ChildForm.ClientSize.Width ChildForm.ClientSize.Height ' Make a Bitmap to hold the image. Dim bm As New Bitmap(s.Width, _ s.Height, me_gr) Dim bm_gr As Graphics = me_gr.FromImage(bm) Dim bm_ ...Show All

  • tamorgen Simple problem with Combobox in Datagridview

    Hello, I have a datagridview set to a datasource that fires up just fine. When I go to change one of the columns to a combobox type, all I get are exceptions. I have the DataPropertyName set to the correct field and would like the user to be able able to select from a simple list 1-30 - which I then put in the Items (collection) area. I have left the DataSource/DisplayMember/ValueMember all blank since I am providing the dropdown data. What am I doing wrong Does the following comment have something to do with it What does the following mean The drop-down list values (or the values indicated by the ValueMember property) must include the actual cell values or the DataGridView control will throw an exception. Thank yo ...Show All

  • Duncan Faulkner Web Service - Error - Cliente Found Response type of text/html;charset= utf-8, but expected text/html

    I am Upgrading From VS 2003 to 2005 I Installed VS 2005 in XP, With Vista SDK .Net FrameWork 3.0 My App Works using WEB Services, in XP all Works good But my Server is Windows 2000 IIS 5.0, I changed from .NET FrameWork 1.1 to 2.0, I have been Upgraded the WEB Services to 2.0 When I try to access to my Server ( Windows 2000 ) From my Client XP, an error occurs Cliente Found Response type of text/html;charset= utf-8, but expected text/html I Dont Know How to Resolve this Regards Santiago That generally means the web service is not running. You should start by accessing the .asmx page with a web browser. That should give you some information to start debugging with. thanks GPinNY ...Show All

  • patternagnstusr SMTP / Message ID

    Is there a way to retain the generated message id from the built in System.Net.Mail.SmtpClient Right.. but if you monitor the process using ethereal, you will see the SMTP server respond with the message-id.. does .Net do anything with this response or store it anywhere I don't think so since the message-id will be generated and assigned by the SMTP server (not the client). So the Message-ID header value is empty until after the message is submitted for processing. I don't think the SMTPClient provides any access to this response. I guess you could use a TCPClient and submit the message yourself... would probably take a little work to work out the trasmission details but that would let you capture any response from t ...Show All

  • Savindra database report

    hello, i'm using ADODB on my vb8-access. before on vb6 i use data report designer to prepare a print, but here on vb8, how can i do that, without using crystal reports i would like to design my report just like report designer, is it possible or are there any turn around for this thanks Hi, I can't really say what's the reason for this error [VS/setup issue ], but you can look into this thread , discussing this very same problem, for possible solutions [registry tweaking, see pages 3 and 4 of that thread]... Andrej hello, thanks for your reply, i think this is what i'm looking for, but one more thing, do you have any sample for Access-based and not SQL-Server based ...Show All

  • spotl help---> oleDbDataAdapter

    i m using wizard to display my data in data grid... http://i4.photobucket.com/albums/y140/alesshans/data.jpg i use oledbdataadapter wizard as below... toolbox -> data -> oledbdataadapter -> select data connection -> use sql statement -> in field SELECT QuestionNo, Questions, Ans1, QCategory, QTopic, SubTopic, PageLinks FROM faq WHERE (QCategory LIKE 'eet') ORDER BY QuestionNo DESC -> finish then i generate dataset enter data source and data member into data grid... the problem is...how can i put value in TextBox1.Text into the sql statement in wizard... example... WHERE (QCategory LIKE ) thanx for help... ...Show All

656667686970717273747576777879808182

©2008 Software Development Network

powered by phorum