all groups > vb.net > march 2005 > threads for wednesday march 9
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
VB equivalent of fscanf in C
Posted by Sam at 3/9/2005 10:57:04 PM
Hi everyone
This some sort relates to a question that posted couple of day ago.
Basically I have a text file which consists of number of lines with the
following format. Each line is terminated by LF and each value is separated
by either a tab or number of spaces. The problem I have is that... more >>
Hiding interface members
Posted by Tim at 3/9/2005 9:42:39 PM
As a .NET newbie, I have not yet found a way to mark interface members
(properties, methods, events) as hidden, so they don't automatically appear
in the Object Browser unless the "Show Hidden Members" option is selected,
and then only appear dimmed. Is there a way of doing this, or has this ... more >>
Simple File Upload
Posted by Fred Nelson at 3/9/2005 9:16:16 PM
Hi:
I'm a newby and I am writing a VB.NET Web application where I would like to
allow the users to upload a file from their computer to my web server. On
the server I have already determined the name that I will call the file. I
would like to provide them with a dialog box to select the file ... more >>
Start learning VB.NET
Posted by Sen at 3/9/2005 8:41:02 PM
1. Where are the best to start learing VB.Net, currently I am using Visual
Foxpro as my depelopment tools
2. How to generate menu at run time, the menu it self is stored at database
table, are there any code examples to share
3. Can we perform SELECT statement against GRID/DATASET to que... more >>
Changing AutoScroll is not permanent
Posted by Just Me at 3/9/2005 8:15:49 PM
If I change autoscrollposition thusly:
ControlPanel1.AutoScrollPosition = New
Point(-Panel1.AutoScrollPosition.X, -Panel1.AutoScrollPosition.Y -
lIncrement)
it works OK.
But if I mousedown on the control that is on Panel1 the thumb move to the
top of its range.
Anyone have any idea... more >>
GDI+: Size and position of a scaled image?
Posted by Olaf Rabbachin at 3/9/2005 7:34:01 PM
Hi folks,
using Transform (see i.e. www.bobpowell.net/bestfit.htm) I'm drawing a
scaled version of an image onto a panel (code s.b.).
Any pointers as to how to get the size and position after the transform?
Using something like this (with the code below) ...
rectScaled = New Rectangle(... more >>
How to get size of an file stored as image in SQL Database
Posted by Dino Buljubasic at 3/9/2005 6:47:53 PM
I want to get the size of a file stored in SQL Database (as image data
type).
Anybody knows how to do this?
Any help will be greatelly appreciated... more >>
Transparent Form
Posted by thowle at 3/9/2005 6:35:03 PM
Okay, here is what I have, I designed a GUI that has rounded edges at the top
(left and right). I want them to be transparent (Like Windows XP is when you
have the Luna themes enabled).
The only problem is... well, it's not working.
I've tried everything I know, save the PNG with transpar... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Another "A generic error occured in GDI+" Error
Posted by lgbjr at 3/9/2005 6:04:34 PM
Hello All,
I have some pictureboxes on a VB.NET form that are linked to an AccessDB. If
the user wishes to open or edit an image, I need to save the image in the
picturebox to a temp file, then open that file in whatever viewer/editor is
the default for the users system. I tried to do
pic... more >>
Database Access Control
Posted by MS User at 3/9/2005 6:01:23 PM
VB.Net / SQL 2K
We are developing a VB.Net application and the question is regarding the
Login screen
We have a table which stores the access-level for each users.
Here is our requirement.
1> Need to restrict users with readonly access when connected to the
database NOT thru the applic... more >>
Learning VB.NET
Posted by Sen at 3/9/2005 5:41:02 PM
1. Where are the best to start learing VB.Net, currently I am using Visual
Foxpro as my depelopment tools
2. How to generate menu at run time, the menu it self is stored at database
table, are there any code examples to share
3. Can we perform SELECT statement against GRID/DATASET to query... more >>
Start learing VB.Net from VFP
Posted by Sen at 3/9/2005 5:39:04 PM
1. Where are the best to start learing VB.Net, currently I am using Visual
Foxpro as my depelopment tools
2. How to generate menu at run time, the menu it self is stored at database
table, are there any code examples to share
3. Can we perform SELECT statement against GRID/DATASET to que... more >>
Progress Bar progress
Posted by Dino Buljubasic at 3/9/2005 5:30:51 PM
Hi,
I have a separate form that displays a progress bar when user tries to
open a file (an Image, a PDF document or so stored in a database) from
my application.
When user clicks on a button to view the file, the form pops up and
displays progress bar and calculated percentage loaded so far... more >>
regex.split, can I keep the delimeter
Posted by Claud Balls at 3/9/2005 5:21:18 PM
I am splitting large files based on a text delimeter, but I don't want
the delimeter left out of the string. For example if I had a string
"NAME: Bill TOWN: Helena NAME: Frank TOWN: Helena"
I would want to split on NAME: giving me
s(0) = NAME: Bill TOWN: Helena
s(1) = NAME: Frank TOWN: Helen... more >>
COM Interop - MarshalAs
Posted by Michael Moreno at 3/9/2005 5:16:52 PM
Hello,
I have a .Net DLL that I use as a COM Server.
I would like to return a SafeArray of double to a VB 6 client.
I have declared this interface
Public Interface ITest
...
Function RetSafe() As <MarshalAs(UnmanagedType.SafeArray,
SafeArraySubType:=VarEnum.VT_R8)> Double()
... more >>
DataGridµÄÎÊÌ⣬ʹ¿àÁ˺þÃ
Posted by ÎÞ¼º at 3/9/2005 5:04:47 PM
Çé¿ö£ºDataGridColumnStyleµÄ¼Ì³ÐÕߣ¬°üº¬ÁËÒ»¸öComboBoxµÄ¿Ø¼þ£¬ComboBoxµÄÖµ±»
Óû§Ñ¡Ôñ¸Ä±äʱ£¬³ÌÐò±ØÐë¸ù¾ÝÇé¿öÐÞ¸ÄDataGridÖÐͬһÐÐÖÐÁíÍâÒ»ÁеÄÏÔʾÄÚÈÝ£¬
ÎÊÌ⣺ÈçºÎÐÞ¸ÄÏÔʾÁíÍâÒ»ÁеÄÄÚÈÝ
//±ØÐëʵʱÏÔʾ£º¼´ÔÚComboBoxûÓÐʧȥ½¹µã֮ǰ
... more >>
Activating a broser
Posted by Howard Kaikow at 3/9/2005 4:50:34 PM
The following will active IE.
Dim t As Type = Type.GetTypeFromProgID("InternetExplorer.Application")
Dim o As Object = Activator.CreateInstance(t)
t.InvokeMember("Visible", BindingFlags.SetProperty, Nothing, o, New Object()
{True})
t.InvokeMember("Navigate", BindingFlags.InvokeMethod, Nothing... more >>
Prevent alternating row colors in Cells
Posted by Steve Bottoms at 3/9/2005 4:31:57 PM
Hi, all!
How does one prevent table cell background colors from alternating between
grey and white? I've dropped a basic table control on an ASP.Net page
(using VB.Net codebehind), and dynamically creating rows and cells. However,
I can't seem to get the blasted thing to stop alternating t... more >>
Q: slow data adaptor
Posted by Geoff Jones at 3/9/2005 3:57:27 PM
Hi
I am loading a DataSet using a DataAdaptor e.g.
myDataAdaptor = New OleDb.OleDbDataAdaptor("Select * From [myTable]",
myConnection)
myDataAdaptor.Fill(myDataSet, "MyTable")
The table is very large and it takes quite a few seconds for these two steps
to complete. I do not need to w... more >>
Making my head spin
Posted by BOFH at 3/9/2005 3:33:14 PM
I am an avid VB programmer, although only simple stuff. Our school
purchased VB.net 2003 and the first thing I tried has me baffled....MDI.
I can create the parent easy enough, but the child form has me at a dead
end. Ive looked on the microsoft site for answers to no avail.
Can anyone h... more >>
Code Serialization problems
Posted by Alex Clark at 3/9/2005 3:26:59 PM
Hi all,
Apologies for the cross-post but I can't determine if this is a VS .NET
problem or a VB.NET language issue. I'm using .NET 1.1 SP1, VS 2003 EA,
VB.NET.
I'm coding a custom component which is designed to be dropped onto a form
and have it's properties manipulated at runtime. I have... more >>
Regex Expression to split on a quote
Posted by lgbjr at 3/9/2005 3:02:15 PM
Hello All,
I have the following type of string: "X:Y\Z.exe" "123"
What I need is an array of strings with the information from within each set
of quotes. I was trying to use a Regex.Split, but I can't figure out how to
escape a quote. The closest I got was Regex.split(String,"(\"")"), whic... more >>
redimensionar (resize) controles en vb.net en tiempo de ejecucion
Posted by carlestf NO[at]SPAM hotmail.com at 3/9/2005 1:31:37 PM
Me pasa lo siguiente:
Instancio un formulario
y cuando se dispara el evento resize redimensiono mis controles
pero no se porque se me desplazan un poco abajo
despues cuando redimensiono el formulario con el mouse ya se me
posicionan bien solo se colocan mal la primera vez
alguien sabe porque ... more >>
application program : VB.Net + Crystal Report 9
Posted by Yammy at 3/9/2005 1:22:53 PM
What is the meaning of the following error :
Exception Details: System.Runtime.InteropServices.COMException: COM object
with CLSID {3C9CFE1E-389F-4118-9FAD-365385190329} is either not valid or not
registered.
ThX.
... more >>
managed vst?
Posted by Doker at 3/9/2005 12:58:27 PM
Has someone found any managed VST interface dll - I mean audioeffectx class
that we could inherit from?
Re,
Doker
... more >>
How to properly impliment a DataGridTableStyle
Posted by pmclinn at 3/9/2005 12:56:24 PM
I have the following code snippet that works great except when I try to
format the check column to be 2 states not 3 the grid gets corrupted.
'_____________________Works great Begin
dt.Columns.Add("YesNo", System.Type.GetType("System.Boolean"))
dt.Columns.Add("Number", System.Type.Ge... more >>
Help with method descriptions
Posted by Chris Calzaretta at 3/9/2005 12:43:45 PM
Hello,
I need help with method descriptions
for example
when i say
public var as new object.class
and i go
var.classmethod
i want the method tip to give information about this classmethod.
How do you do this in vb.net if possible?
How do you do this in ... more >>
Automatic capitalization of keywords
Posted by Tim at 3/9/2005 12:28:18 PM
I just bought VS .Net, and am getting up to speed. One thing I can't find,
though, is how to get the editor to automatically capitalize keywords
(Public, As, Imports, etc.), the way the VB 6.0 editor did. Does anyone
know how to do this, or was this capability dropped in .NET? Thanks.
--... more >>
Adding a summary to each method,veriable or class
Posted by Ahmed at 3/9/2005 12:17:24 PM
Hi everyone,
I have created a custom control. I would to add a summary for each
method to show in the object browser or as a tooltip when hightlighted.
I heard that is not possible in VB .NET and it is only available in C#.
Is that true?
Thank you,
Ahmed
... more >>
can't imports Microsoft.VisualBasic.FileSystem
Posted by Pop at 3/9/2005 11:41:04 AM
Hi all,
I wonder why I can't imports Microsoft.VisualBasic.FileSystem
I already add reference Microsoft.VisualBasic in my project.
I'm developing a Smart Device Application.
Thanks in advance.... more >>
Excel range object into VB.net
Posted by Larry Jones at 3/9/2005 11:17:50 AM
I want to place information from an active Excel spreadsheet to a VB.net
form. I just want to place numbers from an Excel cell in a standard
VB.net text box. Does anyone have sample code to demonstrate this
process? I have tried coding the process myself without success. I have
just purchased ... more >>
Newbie: Changing cursor image at runtiime
Posted by Steve at 3/9/2005 10:31:58 AM
Hi,
how would I change the cursor image (hourglass) during the execution of some
code (connect to a database) and then change it to normal?
... more >>
Identifying ID of a Terminal Services Client
Posted by Atley at 3/9/2005 10:19:45 AM
I have a Terminal Services server running Windows 2000 Server.
I need to be able to identify, in my application on that server, which
client computer is addressing that server and running that application. it
can be by IP or by machine network name... Doesn't matter.
I am using Visual Basic... more >>
how can i get serial numper of hard disk using api
Posted by abeer el ashker at 3/9/2005 10:19:06 AM
how can i get serial numper of hard disk using api... more >>
standard data form direct to an excel spreadsheet
Posted by Scott at 3/9/2005 9:21:38 AM
I want to be able to put in a persons name, address, postcode, social
security number etc in a row of an excel file. I must be able to do this
over a network so many users can add to the spreadsheet. The program must
also log the time that the data was added... any ideas on doing this?
Sc... more >>
Menu Recommendation
Posted by news.microsoft.com at 3/9/2005 8:27:45 AM
I am in the process of porting a program from DOS to VB.NET. I was given
the direction of recreating the feel and functionality of the menu system
from DOS. The system will not have access to a mouse so it will (read must)
all be done through Arrow/Enter keys. The way I'm planning to attack... more >>
Daily Passcode Generation with RSA
Posted by PaulJB PHD at 3/9/2005 8:25:04 AM
Is there anyway to use the RSACryptoServiceProvider with a key size smaller
than 384?
I'm using VB.NET in the 1.1 Framework.
I'm trying to generate a daily passcode string by hashing the current date,
signing the hash with an assymetric private key, and converting the signature
to a Base... more >>
MDI Problem
Posted by morgan petterssson via DotNetMonster.com at 3/9/2005 8:16:36 AM
This is probably a amateur problem :-)
I?ve got an MDI application. When I create my child windows from my mdi
container (frmMain) there is no problem with the MdiParent. I just set it
to Me. As following.
visa_alla.MdiParent = Me
sok_forfattare.MdiParent = Me
... more >>
add wisock in vb.net???
Posted by mtc at 3/9/2005 8:05:04 AM
hi...
how to add the winsock to the vb.net smart device application??
i try it before...but the system say" this is not .net assembly"
so what should i do to add winsock as references??... more >>
Domain Authentication
Posted by ECathell at 3/9/2005 8:02:26 AM
We have several computers in our organization that share users. While we =
use a general account for logging into these computers, I need to give =
these certain people access to different areas of the program based on =
their windows authentication.
Currently we use a table that holds their u... more >>
1 question about Visual Basic
Posted by Michaelas10 NO[at]SPAM gmail-dot-com.no-spam.invalid at 3/9/2005 7:36:44 AM
How can I make a button that if I click on it, it opens paint with the
image that's in the picturebox?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------... more >>
database website
Posted by rodchar at 3/9/2005 6:59:06 AM
hey all,
i'm trying to create a database website where all the aspx pages and images
live in a database. i'd like to be able to edit the pages dynamically, images
and all.
where would i start?
thanks,
rodchar... more >>
Check whether a given string exists in a file
Posted by kd at 3/9/2005 3:15:03 AM
Hi All,
Is there a command to check whether a given string is present in a text
file, without having to read the contents of the file, a line at a time and
then check for the given string?
Thanks.
kd... more >>
Tab control within tab control?
Posted by Amanda Flack via DotNetMonster.com at 3/9/2005 2:58:01 AM
I have an integrated tab control within a tab control that has a data grid
and data table on it. Is it 1) possible to have a tab control within a tab
control and 2) how do I get the data to show up in the table? We have a
data grid and data table on the main tab and it works, but not for the
i... more >>
Update records using datagrids
Posted by mursyidatun ismail at 3/9/2005 12:52:06 AM
Dear all,
database use: Ms Access.
platform: .Net
i'm trying to update a record/records in a table called t_doctors by
clicking da edit link provided in the database.
when i ran through da browsers and click update it gave me this error:
Specified argument was out of the range of valid v... more >>
|