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

Software Development Network >> Visual Basic

Visual Basic

New Question

IDE not responding to keyboard
Large byte types
RSS Feeds
any ideas? how could i know which log file is genereted by which EXE
VB SCript for closing program
How to put headers in a listbox
True or False?
Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document
Saving forms at runtime??
Opening a Word file stored as a Resource

Top Answerers

Rostik Slipetskyy
Aranda
KitWest
Wojtek Podgorski
DouglasL
TigerPhoenix
Psiclonik
Radomiak
spattewar
Niro
sitemap
Only Title

Answer Questions

  • readyeddy hi

    hi to all i am new here i didnt find any forum for java http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=28&SiteID=1 Is the forum for J# That's the best you'll do here... since Java is not a Microsoft technology. You might try the Sun website... hi, thats because java programmers spend so much time with brackets {} they have no time to chat in forums ;-) ...Show All

  • cjr Sum on a listview

    I've the following code to populate a listview with records from my database: Private Sub preencherListView() Dim lstItem As ListViewItem Call conexao() sSQL = "SELECT * FROM [TempoTotalFamiliaQuery] WHERE (Data LIKE'" & dtpDataRelatorio.Text & "')" da = New OleDb.OleDbDataAdapter(sSQL, con) da.Fill(ds, "TempoTotalFamiliaQuery") For i As Integer = 0 To ds.Tables("TempoTotalFamiliaQuery").Rows.Count - 1 lstItem = New ListViewItem() lstItem.Text = (ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(0)) lstItem.SubItems.Add(ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(1)) lstFamilias.Items.Add(lstItem) Next l ...Show All

  • NeederOfVBHelp FTP server question

    I need to retrieve jpeg's from a server. Let's say the ip is \\123.45.67.89 This server has say 200 jpeg's on it. When I double click in my listbox the name of the jpeg I'd like it to go out and get that file from the server and place it into a picturebox. I have this working locally. Thanks My.computer.network.dowloadfile(<URL>, <Filename>) http://msdn2.microsoft.com/en-us/library/ack30t8y.aspx Thanks Spotty, that worked ; however, is there a way I can load it directly into the picturebox without having to save it to the local disk first ...Show All

  • jheddings Please help me I'm trying to load repeating images

    Hi all, what I'm trying to do is load a pink square(image) then a green square(image). and I also want them to be numbered. I thought that maybe I could use a label or image map but I'm really unsure. I thought that I could use a loop but I don't know how to load an asp:Label control inside VB script. Can someone help me out. I'll take anything. cheers George thanks Have a look at the repeater class. This should do it for this scenario. ...Show All

  • Matt Penfold how partitioning or splitting an AVIfile using VB.net ?

    Hi, how do i to splitting an AVIfile using VB.net , and i wanna play every part of this partitioned file. in other word how can i write the header of every part ( if i understood the structure of RIFF file, every file should have an header chunk, so all of these parts will lose the header chunk...), i know that i have to create a streamwriter to write in a Textfile, but i don't know how to do it with an Avifile nor what i must write, so please help me ! excuse me for all my grammaticals and orthographicals mistakes because my english is not good thank's for help DimmuZangetsu , AVIFile control is a runtime invisible control which provides video and audio file access capability. In ...Show All

  • HCMJ switch object types at run time

    In the designer generated code i want to change 10 controls from inkedits to rich text boxes based on a flag...how do i do this so that my changes dont get overwritten when i use the editor on the form Thanks, Dan pseudo code: For each C as control in me.controls If typeof C is inkedits and Flag=True then CreateRTbx(DirectCast(c,inkedit)) end if Private sub CreateRTbx(byval IE as inkedit) Dim RTbx as New RichTextBox RTbx.Location = IE.Location RTbx.Blah = IE.Blah ........ me.controls.add(RTbx) IE.Visible = False end sub Hi droden, This is very curious issue. I will go develop some code for you in free time. Go ...Show All

  • Ganesha Drag and drop operations

    I cannot figure out the following: How to drop a file onto an application and have it open it. How to drop a file onto a shortcut and have it open it. Also, How to create a file association so that opening a file will open my program with the file loaded. Thanks, Troy Also, in your main form you can capture file drag operations in the Form.DragEnter event. Sample: Private Sub Form1_DragEnter( ByVal sender As Object , ByVal e As System.Windows.Forms.DragEventArgs) Handles Me .DragEnter If e.Data.GetDataPresent(DataFormats.FileDrop) Then e.Effect = DragDropEffects.Copy End If End Sub For the first part: I think the location of any file dropped onto your program icon will ...Show All

  • kalkumar Creating Application Settings at Run Time

    Is there a way to create application settings at run time (My.Settings.Add....... etc) Cheers Hiya, I managed to find these articles before but I'm still confused as to how you actually create them within code. Could you provide an example if possible Thanks absolutely: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/vbmysettings.asp http://msdn2.microsoft.com/en-us/library/saa62613.aspx ...Show All

  • primate23 Converting a C style struct to a VB. Net Structure

    I have a dll library that I wish to use in VB .Net there .h has many different structures which to pass to various functions in the dll. Many are strictly input to the dll but some are a mix of in and out. example typedef struct tagPT_DioGetCurrentDOByte { USHORT port; USHORT far *value; } PT_DioGetCurrentDOByte, FAR * LPT_DioGetCurrentDOByte; In VB 6 this was pretty simple as I could declare port as byval and *value as byref. What is the proper declaration in VB.Net This works fine Public Function ReadInputPortByte( ByVal port As Short ) As Byte Dim GC As GCHandle = GCHandle.Alloc(mDioReadPortByte.value, System.Runtime.InteropServices.GCHandleType.Pinned) ...Show All

  • Madhu K Nair Web Browser project

    I am working on a very simple browser, mainly for quick web surfing without the need of menus, favorites, and other fancy features seen in other browsers. The problem is, im quite new to this programming language, and i barely got anything out of what little time i had in Introduction to Computer Programming (using Visual Basic 6.0) before being pulled out of that class to make up a required credit. Im clueless as to how to get the WebBrowser object to respond to the input in the AddressBar, and display the site the user types. Any help on this would be really greatful. Thanks it should be the webbrowser control name: Me.theWebBrowserControl.Navigate(Me.AddressBar.Text) the post has been edited - there was a forum issue when ...Show All

  • NerdyNick Sorted List Serializable?

    The error message is "Sorted List is not 'MARKED' for serialization" ... which leads me to think the error may be in my code: <code> Option Explicit On Imports System Imports System.Collections Imports Microsoft.VisualBasic Imports System.IO <Serializable()> Public Class LabelMap Private PlaySlipSL As SortedList Sub Serialize() Dim formatter As Runtime.Serialization.Formatters.Binary.BinaryFormatter = _ New Runtime.Serialization.Formatters.Binary.BinaryFormatter() Dim Stream As Stream Try Stream = New FileStream(FLAT_FILES_ROOT + SL_NAME, FileMode.Create, FileAccess.Write, FileShare.None) Catch ex As Exception MessageBox.Show ...Show All

  • tovarish Getting a VARIANT* from activex control

    Hi all, I am using Visual Studio 2005, and have created a Visual Basic project where I use an ActiveX control. This control has this method; void getArray(VARIANT *); This VARIANT consists of a CComSafeArray of double precision floating points. Now I want to access this method from a Visual Basic application. As far as I have understood Visual Studio 2005 is using Visual Basic 2005 and that doesnt support the VARIANT data type. Therefore I have tried like this: Dim myVariant As Object = DBNull.Value myControl.getArray(myVariant) Now, my problem is how to access the elements stored in the safeArray which is in the VARIANT Hope someone can help me here! Thanks! ...Show All

  • Dmitriyy How to make a TextBox read from a BindingSource?

    I have this problem, I'm making a DataBase program that uses TextBoxes . I need to make the " TitleTextBox " to read from the BindingSource . You can see this example in My Movie Collection Starter Kit. Near the Text property of the TitleTextBox is an icon, a yellow orange cylinder, the one used to display databases. How do I make this P.S. When you put the cursor over the icon it displays a hint saying " databaseTableNameBindngSource - Title" ( databaseTableName is the Table that the Binding source reads from, and "Title" is the column to read from.) This examples can be found in the RSSVBreader , or the My Movie Collection Starter Kit. Please Help ...Show All

  • SLV #IF Designer Type Preprocessoring?

    I was told to come here and ask this. I'm making an application that has a couple panels and I always run into the problem of where to design all the panels. I hate to resize the boxs all the time to make changes to them and usually work on them outside of the forms main size. Question: Is it possible to do something like this. #If Designer Then Me.ClientSize = New System.Drawing.Size(1200, 1000) #Else Me.ClientSize = New System.Drawing.Size(600, 460) #End If 'This is also used to move panels and such around... my expample resizes the actual form. I mostly want to do this to the panels because i've found that resizing all my panels onload causes a long lag on slower computers when starting up (its the only thing im calling onLoad the res ...Show All

  • jayakhanna excel with vb.net

    i found 2 ways to read excel file in vb.net- one with OleDb and the other one using com (Excel Library Com). what is the different between them what should i use in order to read excel file and also csv file thanks in advanced. ok thanks for all the help One thing to keep in mind...If you use the Interop (com Excel Library) you and your application users must have Excel installed on thier machine. Using the oledb method you and your users only need access to the xl file Oledb allows you to read the excel file as you would a database. Using the COM interop (requires that you have Excel on the client machine) but you can basically automate any task y ...Show All

818283848586878889909192939495969798

©2008 Software Development Network

powered by phorum