all groups > vb.net > october 2004 > threads for thursday october 28
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
Looping question
Posted by Nikolay Petrov at 10/28/2004 11:55:57 PM
I am using AxSHDocVw.AxWebBrowser in my WinForms app.
I have an array of URLs as string
I use the following loop to navigate to these URLs and then in
DocumentComplete Event of AxWebBrowser I proccess the opened page.
I do this by the fallowing loop.
Dim Browser as New AxSHDocVw.AxWebBrowser... more >>
Problem using component AxSHDocVw.AxWebBrowser.??
Posted by joko NO[at]SPAM jau.co-dot-id.no-spam.invalid at 10/28/2004 11:55:06 PM
i was using component AxSHDocVw.AxWebBrowser,,but i rather confuces
because when i write
AxWebBrowser1.Document. the next option is Gettype function,,,nothing
else......
But when i write AxWebBrowser1.Document.all.tags("DIV").length() the
code is running well....WHY..?? i realy confuces becaus... more >>
formula syntax checker
Posted by dzemo at 10/28/2004 11:43:01 PM
I need to implement formula syntax checker (like crystal reports formula
field or something like than)
Like this it should be : I have tree list with some fields which user can ad
to formula (field will later have values not in time when user adding in
formula) and user can write simple math ... more >>
Maintain Web Session and Cookies
Posted by Manuel at 10/28/2004 11:04:09 PM
I thought this would be simple:
In my VB.NET application, make and instance of a web control, post a
username/password to a website, keep "browsing" the website with the
control, extracting information about the web pages, and the Session and
cookies will be alive for as long as I'm posting... more >>
Home Alone with .....
Posted by Michael Jackson at 10/28/2004 10:17:22 PM
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C4BD3B.E5C883A0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_001A_01C4BD3B.E5C883A0"
------=_NextPart_001_001A_01C4BD3B.E5C883A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfe... more >>
Remove duplicates in listview in VB.NET
Posted by Mamatha at 10/28/2004 9:40:59 PM
Hi
I have an application with listview.When i click on one
button the data will be displayed like this in the
listview:
colA colB colC
----- ----- ------
nannacom.com 0 0
When i click on another button,i want to display like this
in ... more >>
Multi page
Posted by Maileen at 10/28/2004 9:40:07 PM
Hi,
I would like to know where can i find in VB.NET, the multi page control
like i had under VB6 ? (the multipage component which can be controlled
without using page tabsheet)
thanks a lot,
Maileen... more >>
DataGrid...
Posted by VJ at 10/28/2004 9:36:47 PM
How do i make sure the last column in my datagrid fits to the exact width of
the grid...
Thanks
VJ
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What's the difference between Debug and Release?
Posted by at 10/28/2004 8:59:45 PM
Since I need to dotfuscate my exe file anyway, does it make any
difference if I use Debug or Release versions. Would a Debug
version be easier to decompile/study/reverse engineer than a
Release version, both having been dotfuscated by the standard
dotfuscator of visual studio 2003 ?
Tia... more >>
Change a labels behaviour
Posted by Bob Hollness at 10/28/2004 8:45:37 PM
OK. I want to use a transparent control to display text on an image. I
also want it to allow user input and editing.
See as textboxes cannot be transparent (or can they.....?) is there anyway I
can set a label control to allow user input?
Thanks
--
I'll have a B please Bob.... more >>
Inheritance question
Posted by Johnny van Cadsand at 10/28/2004 8:14:16 PM
Hi,
Question about inheritance in VB.Net
I know how inheritance works.
But do i have to put all the inherited classes/files in the same
directory as the class/file which inherits is in??
eg.
My dirtree is as follows:
A - B
- C
A is parent of B and C
I have a class person in dir B. A... more >>
move data from one datatable to another
Posted by Jon at 10/28/2004 7:59:02 PM
hi,
I have 2 datatable, "dt1" and "dt2"
I would like to know what is the best way to move the data across?
I just want to move all the data from "dt1" which the "Category" column is
"CatA" to "dt2", so the data will no longer left in "dt1".
please help, many thanks.... more >>
Context Menus
Posted by Ash Phillips at 10/28/2004 7:21:27 PM
Hi, in VB6, I could use PopupMenu() to display a menu on a control such as a
list view.
I have tried setting my List View in VB.NET to a ContextMenu but I can't get
the same functionality that I had and need like in VB6.
Basically, I just want to disable menu items in the context menu if the... more >>
flat button
Posted by Maileen at 10/28/2004 6:44:38 PM
Hi,
I would like to know where can i find the button control with these
features :
- flat like in VS.NET on toolbar
- including image + text as caption.
I know this component exist but under which COM or activex ?
thx,
Maileen... more >>
Macro needed?
Posted by Tim Marsden at 10/28/2004 5:40:05 PM
Hi
I wish to automatically fill in the assembly attributes (i.e <Assembly:
AssemblyTitle("")> etc) in my assembly.vb files in serveral projects in my
solution. Is there a way of doing this, perhaps with a macro?
Regards
Tim
... more >>
Dynamic loading of password in connection strings?
Posted by mfresa NO[at]SPAM earthlink.net at 10/28/2004 5:26:04 PM
I'm a newbie to VB.NET, and so far have used the wizard to generate
connection strings to an Oracle database. In the wizard, the userid
and password are hard coded into the connection string. Is there any
way I can get a userid and password from Windows XP registry, or
dynamically load the use... more >>
Using End
Posted by Bob at 10/28/2004 5:12:27 PM
My app shows a modal MDI parent form, and creates a timer that ticks every
ten minutes to boot unresposive users at 3 in the morning. Below is a
simplified working example with no time check. My question is, is it OK to
use End or it is there a cleaner way to close the app? Keep in mind that I
w... more >>
VB.NET: Using String to compare with the Combo Box
Posted by http://www.visual-basic-data-mining.net/forum at 10/28/2004 4:47:53 PM
Hi...
Say i have this string call "data" in Form1, this string contains number "5"
value....
how do i pass this string to the Form2 and compare with the combo box
items...
The combo box DropDownStyle is set to DropDownList...
which means when i pass, the SelectedIndex must be subtract ... more >>
Threading Performance
Posted by One Handed Man \( OHM - Terry Burns \) at 10/28/2004 4:38:23 PM
Hi Again,
I'm still playing with this space invader type game, and I have the alien
wave on the main UI thread which works wuive well, I have also got a
SpaceShip on its own thread which scims acrross the top of the screen, but
the performance of the SpaceShip is a little erratic, it does n... more >>
Threading Info
Posted by Chris O. at 10/28/2004 4:28:01 PM
Anyone know where I can find some basic information on creating and/or
implementing threads in VB? Thx :)
... more >>
text1.Seltext - vb.net equivalent?
Posted by jn at 10/28/2004 4:12:00 PM
greetings,
what is the correct way to add text to a textbox in vb.net
concatenating it to text that the textbox already
contains? I am experimenting with text1.text.concat but
having some problems. Any help appreciated.
thanks
jn... more >>
Viewing TXT file while app is in runtime.
Posted by Marty at 10/28/2004 4:08:59 PM
Hi,
When writing to a text file from my application using this object:
Dim FileStream As New FileStream(strFileName, FileMode.Append,
FileAccess.Write, FileShare.ReadWrite)
ioFileOUT = New StreamWriter(FileStream)
ioFileOUT.WriteLine(strLine)
If I try to view the txt file (witn notepa... more >>
How can I make a form stay on top of my other forms?
Posted by Robin Tucker at 10/28/2004 4:07:57 PM
How can I make my form stay on top of all the other forms in my application?
I don't want the form to stay on top in Windows as a whole, just be on top
of all the other forms in the given application instance.
Thanks,
Robin
... more >>
I need speed Mr .Net....speed
Posted by Ham at 10/28/2004 3:36:36 PM
Yeah,
Gotto work with my VB.Net graphic application for days, do any possible type
of code optimization, check for unhandled errors and finally come up with
sth that can't process 2D graphics and photos at an acceptable speed. I have
heard things about the virtual machine of Mr. Net, that it can... more >>
Debugger Don't Work With Component In Design Mode
Posted by Tom at 10/28/2004 3:09:09 PM
I have a component I'm writing. It appears that the debugger simply
doesn't work when in design mode. For example:
build the component
drop the component on a form
break points in the "New" sub don't fire
change a property
break points in the property don't fire
I've ... more >>
Emailing in VB.NET
Posted by Michael Turner at 10/28/2004 2:58:06 PM
Hi
I need to be able to open the users default mail client and insert an
attachment and the recipients email address automaticly I have come across
the following code and wish to know the following.
1. Will it work on all operating systems, if not which ones will it have a
problem with
2. ... more >>
RE: About Creating Objects Dynamically
Posted by Tom at 10/28/2004 2:46:40 PM
Ok Thank :
However How to do it as dynamic ?
I mean , the reference only create on runtime , rather than Predefine.
In VB6 , dynamic add reference method is using createobject(string) so I
can dynamic add reference to object.
However, in .Net If I need to dynamic add refernece to another .... more >>
Grid with comboboxes, checkboxes, etc.
Posted by Aadam at 10/28/2004 2:39:07 PM
Is there a grid that can contain comboboxes, checkboxes, etc. in the columns?... more >>
ImageCombo
Posted by Kejpa at 10/28/2004 1:59:03 PM
Hi there,
anyone have a good .NET version of an imagecombo?
At http://www.codeproject.com/vb/net/ImageComboBox_VBNET.asp there's one but
I can't use it with .NET 1.0 and from what I've understood it don't show the
Image when an item is selected and it's not in the Toolbar....
Regards
Kejpa
... more >>
very simple question
Posted by Roberto Carcione at 10/28/2004 1:22:22 PM
Hi at all,
i need to know if there is a statement in vb like "continue" in c++; to use
in statements loop. I'm using vb net but i think the question is the same
for vb 6 language.
thanks in advance.
roberto
... more >>
flexibel sorting collection
Posted by marc at 10/28/2004 1:22:22 PM
Hi,
I have a collection of objects and i would like to add a flexibel sorting
functionality
I am looking for a colliection that gives my the following functionality
a - have enumaration to loop through all objects {for each}
b - check if item exists, without throwing exceptions... more >>
System.ServiceProcess - Is the service "hung"?
Posted by SQLScott at 10/28/2004 1:06:06 PM
I am using the System.ServiceProcess methods to look at the status of several
services. It will tell me if it is Stopped, Started, etc. But how do I tell
if a service is Not Responding, or Hung?
TIA...
--
Thanks,
Scott... more >>
Events
Posted by Nikolay Petrov at 10/28/2004 12:57:43 PM
I have a sub which execute when a specidied event is fired.
Is there a way to enable this sub when it is needed, and disable it when
not?
TIA
... more >>
multi-thread
Posted by Microsoft at 10/28/2004 12:41:25 PM
I have an app that checks to see if I can ping, then hit the registry of a
few hundred machines. In its current form it goes down the list
sequentially one at a time.. Is there a way to do more than one machine at a
time?
I've seen tools that do this, not sure if you can multithread in VB.net.... more >>
newbie: Can I intercept specific keystrokes?
Posted by Carol at 10/28/2004 12:39:11 PM
Is there a way to trigger an event when an individual key is pressed, as well
as with key combinations and function keys? I want to trigger an event when
the SHIFT key is pressed. I also want this to happen whether the form has or
doesn't have the focus.... more >>
How to search files for text string most efficiently?
Posted by Jim at 10/28/2004 12:24:54 PM
Hello,
I am working on a small windows application for a client, and as one of the
functions they want a search that will let them enter a search string, then
search a directory for all flies that contain that search string AND display
the lines that contain the search string.
They have ... more >>
VB.net 2002 reboot error
Posted by Loretta at 10/28/2004 12:15:03 PM
I have been trying to install vb.net 2002 and keep getting the following error:
Setup has detected that another program requires the computer to reboot.
You must reboot the computer before installing Visual Basic .NET Windows
Component Update. Once the system reboots, you need to restart se... more >>
No Data from Crystal Report
Posted by davemckie66 NO[at]SPAM yahoo.com at 10/28/2004 11:39:47 AM
Hi all,
I am trying to do my first Crystal Report with the bundled version of
VB.Net version 2003. I am familiar with creating reports in Crystal
version 9...so I though it would be a piece of cake. I cannot get any
data to display with the report. I am using
* a form that host's the Cryst... more >>
icon stupid
Posted by fernando at 10/28/2004 11:37:41 AM
Hola grupo, antes que nada gracias. ¿Porque no veo los iconos que asigne
mediante imagelist a una toolbar?Cuando estoy probando la aplicación en mi
ordenador no hay problema, pero cuando instalo la aplicación en otro
ordenador anda perfecta pero no me muestra los iconos que tienen asignados
los ... more >>
Display csv data in VB.net
Posted by Microsoft at 10/28/2004 11:29:40 AM
I have a program that creates out put in the form of a CSV.. Basically a
text file with entries that look like this 1,2,3,4
Is there a control or way that I could display the information in a nice
table format directly on my VB form, without having to have Excel open a
file .. Thanks!
... more >>
status bar help
Posted by K E Senthil Kumar at 10/28/2004 11:18:22 AM
Hi,
I am using Vb.Net. I use a frmMain which has a menu and explorer style. On
click of menu or item in explorer, other forms are activated. The frmMain
has a Status bar control. The events of the other forms are also to be shown
in the frmMain.
I tried to access through the following co... more >>
Remoting & CAO Question
Posted by Z D at 10/28/2004 11:02:52 AM
Hello,
Is it true that I need to push the DLL for my entire class if I wish to use
CAO remoting???
Can't I just use an Interface to the class on the client side and
instantiate the object in a similar fashion to using SAO Singleton with an
interface? ie:
Dim MyPerson As IPerson
MyPer... more >>
vb.net Excel versions
Posted by BrianDH at 10/28/2004 10:55:01 AM
Hi
Is there a way, in VB.Net, to write a windows based program that will use
more than one version of Office (Excel)?
Example: if office 2000 then else if office 2003 then.
Is this possible? Examples?
Thanks
... more >>
About Creating Objects Dynamically
Posted by Tom at 10/28/2004 10:11:45 AM
Hi All :
I'm VB.Net Beginner I try to create object Dynamically :
In my testing, I create 2 .net project
One is MyApp (Type is windows application) with one button name "Button1"
The another one is "prj01" (Type is Class libary) with one public Class name
"dbLib"
In this prj01.dbLib I cr... more >>
Please help...from C# to VB
Posted by jcvoon_99 NO[at]SPAM yahoo.com at 10/28/2004 10:10:34 AM
Hi :
I'm new to VB and C#, can someone help me to convert this code to VB
1. The following code, what is the 'this' means ?
public object this [int index]
{
get {return ((IDataRecord)myObj)[index];}
}
2. What is the different using 'this' and 'base' ?
public class MyClass
{
pub... more >>
Trap Paste event
Posted by Matthew at 10/28/2004 10:08:42 AM
When a user types Ctrl.+V in one form, I would like to trap the event and do
something else.
Is this possible?
Matthew
... more >>
disabling event procedure
Posted by alien2_51 at 10/28/2004 9:51:18 AM
I'm writing a vb.net windows app, I have a collection I'm
databinding to a combo box, in the selected index changed
event of the combo box I write to a property on another
object. My problem is the proprty gets written to in the
form load (when I data bind) causing my object to be dirty
wh... more >>
Progress bar bars are not showing
Posted by Robert Smith at 10/28/2004 9:29:08 AM
Hello,
I have a problem with my progress bar, as shown in the attached
code, the values on the bar are incremented within a threaded timer event.
The timer works fine and ticks all the way through. However when you Add a
new status bar to the form with a Progress bar and then immedia... more >>
Sockets Hanging with SMTP server code
Posted by goldhors64 NO[at]SPAM aol.com at 10/28/2004 9:20:27 AM
Hello,
I am trying to write an application that will talk to an SMTP server
using sockets. I can connect to the server just fine, then I can
receive the first message from the server. I can then send out a
command to the server, but after that the thing just hangs when I am
waiting for a resp... more >>
SyncLock question.
Posted by joeldenton NO[at]SPAM hotmail.com at 10/28/2004 9:05:57 AM
I have a question about when synclock is necessary. Most of the
examples I've seen have suggested synclocking on a static/shared
object for synchronizing access to class data. What I'm not clear on,
is when it is needed.
For example...
Public Class MyClass
Dim i as Integer
P... more >>
Urgent Plz.......
Posted by yoshitha at 10/28/2004 8:05:14 AM
Hi,
I've one list box where am displaying files of a particular folder only.
what i want is along with the files i have to display the command buttons in
the list box.
for eg i've a folder by name ABC in this folder i've 10 files
and am displying these 10 files in the listbox along with this i'... more >>
Getting sort error on datagrid column name
Posted by nate axtell at 10/28/2004 7:48:47 AM
In VB .NET I load the contents of an Excel or comma seperated values file
into a dataGrid (via a datatable). One of the columns has a comma in the
name of the column. So for the comma separated values files I put double
quotes are the column name. What I see is that the name ends up getting
d... more >>
specific control I can't find anymore!
Posted by dan heskett at 10/28/2004 7:37:09 AM
I just started working heavily with vb.net/.net in general a few months ago..
... at some point I acquired a control that I thought was pretty nifty.. it
was a gradient background control, drop on your form and it painted a nice
relaxing control blue Windows-style gradient..
...in the sam... more >>
Using Enter key to Tab between fields
Posted by LCAdeveloper at 10/28/2004 7:23:06 AM
Having taken the plunge to
update from VB4 to Visual Basic.NET, I'm having trouble with some syntax.
Specifically, I used to use the Keypress event to send a Tab when the Enter
key was pressed:
Private Sub txthead1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{TAB}"
... more >>
overriding enums
Posted by guy at 10/28/2004 5:43:11 AM
what is the best way to simulate the following line of code
Public MustOverride Enum Test
....
I have a data access base class and am using an enumeration in each child
class to map onto the columns returned by a DataReader
I would like to ensure the enumeration is always present in the ... more >>
VB.NET and MySQL
Posted by jcnews at 10/28/2004 5:16:01 AM
Is there a way to get VB.NET to work with MySQL? Is this advisable? I want
a nice database that can handle lots of information, but is free. I have
used MySQL with PHP but I don't know how to do it with VB.NET.
... more >>
batch file
Posted by jcnews at 10/28/2004 5:13:46 AM
I am a beginning programmer in VB.NET. I would like to write a program that
automates my programs. I want it to run a few programs in order, for
example: run a spyware program, close it. Then run a registry cleaner and
close it, then anti-virus... etc. It should also have the ability to send
... more >>
Licensing vb.Net project
Posted by vbdotnetmania at 10/28/2004 4:45:06 AM
Hi,
I have looked through similar posts and have found Ken Tucker giving the
reply about looking at article http://windowsforms.net/articles/Licensing.aspx
This appears to be for controls and components and though I don't find it
easy to understand it seems like it's appropiate for contro... more >>
Store a file into a memory
Posted by postings NO[at]SPAM alexshirley.com at 10/28/2004 3:55:06 AM
Hi
Can you help me?
I want to store a file of any description or format (from a hard disk)
into memory in VB.NET (using ASP.NET).
Then I want to use this datastructure in memory (containing the file)
to be used for the construction of a SMTP message.
What I am doing with SMTP at the mo... more >>
Using Web Browser in Windows Forms
Posted by joko NO[at]SPAM jau.co-dot-id.no-spam.invalid at 10/28/2004 2:54:59 AM
I'm using web browser to view web page in vb form......I wanna read
how much <div> is in the page ( it should be 3), but can't work
it.....In javascript it's gonna be something like this.......
(browser-object.contentDocument.documentElement.childNodes.item(1).childNodes).....I
already using the... more >>
Need an example of Tabs usage.....
Posted by Jim Hubbard at 10/28/2004 2:47:52 AM
I need an example of tabs usage like you might do in a tabbed browser
application.
I need to be able to open one or more tabs with customer data. Every tab is
laid out exactly alike, only the customer data changes from tab to tab.
Tabs should be able to be created at the front of all tabs,... more >>
PROBLEM:"Cannot modify the Items collection when the DataSource...
Posted by VitorJOL at 10/28/2004 2:21:04 AM
Hello
I have a listbox with a datasource.I want to remove a row from listbox but
not remove it from the database.
How can i do this ?
PROBLEM:"Cannot modify the Items collection when the DataSource property is
set."... more >>
How to synchronize between those threads in VB.NET
Posted by Mamatha at 10/28/2004 12:56:16 AM
Hi
I have one application in VB.NET using mutiple threads.
While that application running,threads get some data and
placed it into a file.That same file is used contineously
by another threads in reading purpose.
If we put synchronize in writing mode then how can i read
from that file.
I... more >>
Bringing a child form to the front
Posted by Richard L Rosenheim at 10/28/2004 12:53:48 AM
I have the application's form (MainForm) along with a 2nd form (Form2). If
the user minimizes MainForm, I also minimize Form2. And when the user
restores the application, I also restore Form2. But, Form2 is ending up
behind MainForm. Anyone have an idea of how can I set/keep Form2 to be in
f... more >>
|