| |
thread by: Schorschi |
last post Nov 21 '05 by: Blitz Krieg
I am trying to mimic the following (which works) but Use the stock
GetManifestResourceStream route.
For example
Public Declare Unicode Function LoadCursorFromFile Lib "USER32.DLL"
Alias "LoadCursorFromFileW" (ByVal thePath As String) As IntPtr
Dim theCursor As Cursor
|
thread by: Tim Murphy |
last post Nov 21 '05 by: Paul Clement
How do you read/write a Word document embedded in an OLE Object field in an
Access table with VB.NET?
I have an Access application where users are creating and editing Word
documents that are embedded in the database. I need to write a VB.NET
application to routinely read the contents of these Word documents. I've
written code that uses...
|
thread by: Dominique |
last post Aug 9 '06 by: Dominique
Hello,
Im want to fix the width of a dashboard.
I have a field which has a field (in this dashboard on the left part of my
screen)
which could be long and make the right side of the screen out the display.
I wanted the size of the fiedl QueuedCountLabel fixed and the text inside
wrapped up and/or the dashboard itself with a fixed width.
...
|
thread by: Crisco www.misericordia.com.br |
last post Oct 4 '06 by: Crisco www.misericordia.com.br
Hi
I m working on WEBRADIO Software. im using Windows media encoder 9 SDK
on Windows 2003 server using VB.NET.
My current scenario is my soundcard . My application will push my
server the live audio on specific port.
I am using Windows media encoder sdk sample (entire code), currently i
|
thread by: Nathan Sokalski |
last post Sep 6 '07 by: zacks
I have an ASP.NET application which displays the directories & files in a
specified directory on the server. I use the
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() to
retrieve the lists of files and directories. I have two very similar
versions of this that I am debugging, both of which use the methods
mentioned...
|
thread by: Marco Biagioni |
last post Oct 26 '07 by: Marco Biagioni
After i've tried to update a vb 6.0 project to vb.net, using visual studio
utility,i can't read correctly data bytes from a .bmp file to insert them in
a matrix to operate on.
Using vb 6.0 the code was based on Get function:
GET #1, PIXELSTART, PHOTO.MATRIX
where PHOTO is a structure data type, with a member MATRIX previously
defined...
|
thread by: nejmay |
last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Help Please, I am taking a beginners VB.NET class and my next
assignment making a Depreciation Calculator. I am suppose to use the
built in functions SLN() and SYD() to perform the calus, option
buttons to specify the deprec method, combo box to specify life. Then
I am suppose to display the depreciation schedule in ListView.
I am having a...
|
| |
thread by: Xavier Valdés |
last post Nov 20 '05 by: One Handed Man \( OHM - Terry Burns \)
Hi all,
I'm using component one's flexgrid (nonclassic) and I have a question... How
could I
drag and drop ROWS???
(from a component with my flexgrid and another component with flexgrid)
Thanks a lot,
Xavi
|
thread by: gsb58 |
last post Nov 21 '05 by: gsb58
Hi!
I'm new to VB.NET
Anybody that could show me how to find the cursor position in a
RichEdit?
That is: when user click anywhere in the box and there's some text
already, I want to programatically move to a new line and insert time,
make a new line and user will be ready to insert new text.
|
thread by: swartzbill2000 |
last post Sep 14 '06 by: swartzbill2000
If I do this:
Dim receiver As New UdpClient()
Then the documentation says the system will pick a port. How can I
extract the chosen port number from receiver?
Bill
|
thread by: BillE |
last post Dec 10 '07 by: BillE
When I create a control dynamically and it grows according to the content,
the control Height property still returns the original default control
height instead of the height after expanding.
How can I get the height of the control (in code) after it grows?
I am building a windows form dynamically, creating controls and placing them
on...
|
thread by: Peter |
last post Sep 23 '08 by: Peter
Hi
I've discovered a bizarre Windows Forms (VB.NET) behavior that is
resulting in a Form not being able to be moved. To reproduce this:
1) Create yourself a new Windows Application in Visual Studio 2005.
2) A project will be created with one Form (Form 1). Don't add any
code to the project.
3) Run the project and confirm that Form 1 is...
|
thread by: starlight849 |
last post Jul 9 '13 by: Killer42
Hi,
I am running CAA RADE R21 SP4 and Visual studio 2008.
I am trying to connect them. Can anyone give me some advice on the step needed to do this?
I found a tutorial with r18 and visual studio 2005 but nothing on r21.
Thanks
|
thread by: Bernie Yaeger |
last post Nov 20 '05 by: Hemanth
What causes the error 'string or binary data would be truncated'? Here's
the routine that sometimes causes the error, sometimes not:
irow("ctotal") = FormatCurrency(irow("total"), 2, TriState.False,
TriState.True, TriState.True)
ctotal is a char column in an sql server table; total is a currency column
in the same table. Notwithstanding,...
|
thread by: VJ |
last post Nov 20 '05 by: VJ
I have the option "Reuse windows for launching shortcuts" checked in my IE.
Now in my client code on a click event of a link, I do the following,
Dim procWebPages As Process
Dim strWebPageLink As String
'Build the web link here
' End Build web link here..
procWebPages = New System.Diagnostics.Process
|
| |
thread by: Jozef Jarosciak |
last post Nov 21 '05 by: Mythran
I need the function to tell me how many minutes past so far this month.
|
thread by: Scott |
last post Nov 21 '05 by: Herfried K. Wagner [MVP]
Hello,
I am running into a problem with my code and can't seem to figure out the
solution.
I know it has to do with the pciture box control and unloading the image
inthe picture box but I can't seem to figure out the correct way to "unload"
the file.
I have a simple form with a picture box and a button. I am using dir() to
get all the the...
|
thread by: Rippo |
last post Jul 5 '06 by: Cor Ligthert [MVP]
Hi
I have the following console application and am attempting to late bind
a class with option strict on! However of course I cant and I get the
following error "Option Strict On disallows late binding" at the line
BL.a() in method Main
How do I overcome this?
Public Class test1
|
thread by: tshad |
last post Nov 12 '07 by: tshad
I am using vb.net VS 2003 and can't seem to see my namespace.
I have 2 files (form1.vb and DBTypes.vb).
My DBTypes.vb is:
************************************************
' Create to new variable types to handle nulls and track changes
' to standard variable types. This is for use with database variables.
' This will tell us if a...
|
thread by: BB |
last post Nov 20 '05 by:
Hello all,
I am using the currency manager in VB to navigate a
dataset. I know how to use .position to loop through the
rows, but what I want to do is *get* the position of the
row I just added/updated, so that I can reposition the
currency manager there sometime later.
Seems like after I add a detached datarow to the
datatable, that...
|
thread by: BrianDH |
last post Nov 21 '05 by: BrianDH
This is new to me. I am trying to call a SP (MS SQL) and pass different data
types. I know in SQL you handel these data types diffent in your string
Public Shared Function GetGridDataSet(ByVal val1 As Integer, ByVal val2 As
String) As DataSet
Dim UserData As DataSet
Dim myConnection As SqlConnection
Dim myCommand As SqlDataAdapter...
|
thread by: eBob.com |
last post Nov 21 '05 by: Cor Ligthert [MVP]
I have a "parent" form (if that's the right terminology), Form1. I
declare two public values in the parent form :
Public Class Form1
Inherits System.Windows.Forms.Form
Public CurDir As String = Directory.GetCurrentDirectory() 'used
by FormGetJobOutput
Public PubUser As String 'tbxUser.text value for subForms
In the "child" form, I call...
|
thread by: Jim |
last post Nov 21 '05 by: Ken Tucker [MVP]
I have the following code:
Line 35: Dim sURL As String = "http://www.google.com"
Line 36: Dim data As Stream =
client.OpenRead(Server.UrlPath*Encode(sURL))
Line 37: Dim reader As New StreamReader(data)
Line 38: Results = reader.ReadToEnd()
|
| |
thread by: arch |
last post Sep 2 '06 by: Cor Ligthert [MVP]
Is there a function or something I can use to generate an sql script for an
object in an sql server. for example, I want to generate the CREATE TABLE
AS .... statement for a table. I don't want to use SMO or DMO but some kind
of .net functionality.
|
thread by: Stephen Muecke |
last post Nov 19 '05 by: Stephen Muecke
To overcome the hard-to-read text associated with a disabled combobox, I
have created my own and overriden the OnEnabledChanged method as follows
(note the control also includes a DisabledBackColor property)
Protected Overrides Sub OnEnabledChanged(ByVal e As System.EventArgs)
'Call base method so delegates receive event (must do this first...
|