-
- Deploying help files with OnceClick
by Rob91
- 2 Replies
- Last post
by Rob91
- Hey,
Is there any way of deploying help files, readme files, etc to the Start Menu using OnceClick
Thanks
-
- Sum of an Array
by Sransom_au
- 2 Replies
- Last post
by Sransom_au
- Another newbie question. I am using VB express.
I have an array of intergers. what is the best way to find the sum of the array
Thanks in advance
Scott
-
- File Creation and Printing. Drive letter needed in the full path string .
by Binny
- 4 Replies
- Last post
by Binny
- Good Afternoon,
I have a VB.NET app that creates a simple text file on the C\ drive.
When the users click on the button to print, they receive an 'Access is denied'
error message. The file is not created.
I then created the file using the APPDATA environment variable, the file gets created
but when I print, nothing is printed. I am using variables for the filename -
sfile = path
-
- How to get the textbox scroll automatically when reaches its bottom?
by christianpaul1105
- 4 Replies
- Last post
by christianpaul1105
- How to get the TEXTBOX scroll automatically
-
- Ampersand problem.....
by Stinger
- 14 Replies
- Last post
by spotty
- hi,
I wanna see the text " Hello & how are you " in a Label. But Label doesn't display "&". I tried converting it separately, but no use.
If anyone knows a workaround, please respond....
Thanks in advance...
-
- close, but
by jriggs
- 2 Replies
- Last post
by jriggs
- On my form I have a datagridview that is tied to a table on a dataset, and then some textboxes that are tied to another table on the same dataset. In order to save the values I pass the dataset to the db in a stored procedure. If there were no changes made to the table connected to the datagridview, I don't want to send it back to the db, so before saving, I clear out that table. The problem is th
-
- Roles Question
by Hawkeye7
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
I have a custom user and roles table, I am trying to add a user to a role after the user logs in like:
User.AddtoRole(string rolename)
Is there anyway to do this in ASP.NET without using ¡°aspnet_regsql.exe¡± to create Microsoft¡¯s tables & using them
Thanks
-
- Modifying a list box that exists on another form
by William Jimenez
- 1 Replies
- Last post
by Dave Patricio
- I am in a college level class for VB 05, and I have been assigned a project that needs me to write a Point of Sale system. It is for the food service industry, so it has food items. There are two main forms in the project. One of the forms has a list box that contains all of the products avalible to purchase with their prices that have been entered in at design time. I want to be able to load that
-
- Visual Basic 2005 is not intuitive
by Captain!
- 11 Replies
- Last post
by DiverKas
- Speaking as someone who has used a number of different isotopes of Basic over the years, I have to say that I think Visual Basic 2005 is not particularly intuitive. No doubt there are reasons for various changes that hvae been made, probably to do with Net use, but I find that the language seems unecessarily convoluted and is missing many useful commands, features and procedures that were availabl
-
- Having trouble w/ adding Media Player control
by puffzotty
- 5 Replies
- Last post
by puffzotty
- Hi.
I am trying to add Media Player control to windows application. I am running on vista home premium, vb.net 2005
i added reference to wmp.dll
when I try to add media player com object to the toolbox by
rightclick toolbox -> choose item... -> com component -> browse -> wmp.dll
(obviosly, i couldn't find "windows media player "on the list)
i get
-
- Conversion operator overload for an Enum to another Enum type
by DavidR100
- 4 Replies
- Last post
by DavidR100
- I know this probably isnt possible as Enums cant have shared operator overload methods, but wouldnt it be nice to be able to define an CType operator overload to convert from one enum type to another, or even to a class maybe
ANy suggestions
-
- calling events for controls
by PL01
- 2 Replies
- Last post
by PL01
- Hi,
I need help with two issues:
1. iterate through all controls (including nested) in a specified collection.
I mean a MyTabControl which has Tabs, Panels and Buttons inside, where buttons are nested in panels or are not. I do not know how the collection looks like, and I want access every control, whenever it is nested in any other or not.
I also do not know how many nesting
-
- A Schedular
by nufc2007
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Is there any way to produce a schedualr for a company i.e if they have a meetin the same day each week is there anyway way on entering this data and the frequency of this ie meeting = weekly which would then display on a calendar which could be printed off Any suggestions wud b grateful thank you
-
- opening a second datareader when transaction is active
by Wilfi
- 8 Replies
- Last post
by cybertaz69
- Dear Sir,
I have stored my invoice data in two tables. Now i want to read all the invoices.
since i want to do some posting also, i have opened a transaction object & activated
the same with begin transaction.
For that i generated a sql data reader MyReader1 with Mycommand1 object. In the while loop of this data reader, i would like to read the data from the second table. but
-
- DataGrids
by Morn
- 2 Replies
- Last post
by Bruno Yu - MSFT
- I have managed to get to the point in a project where I must display a summery of a booking. The details that I have stored in an access database are as follows: First Name, Surname age and activity I need to get these to display in a data grid so that the user can confirm the booking. This is the code that I have so far, what I need is to get the data from the dataset and into the data grid. ' c
-
- System.IO.StreamWriter hanging program execution
by JFoushee
- 5 Replies
- Last post
by JFoushee
- Hi all.... I have code that does lots of work, and I log progress using the following code text.
I've noticed some unusually long times for the code to complete, and when I break the execution always hangs at the same line
Public Shared Sub sub_WriteToFile( _ ByVal What As String, Optional ByVal ReportPath As String = "")
Dim strReportPath As String = _gstrReportPath If R
-
- Text property
by exina
- 8 Replies
- Last post
by exina
- Hi,
I have a tab control on a form with 5 tabs on it. Tab1 contains customer info like first name,last name, address and phone.
and Tab3 contains related cellphone info. So what I would like to do is take the first name and last name from Tab 1 and combine them together on a label on tab 3. How can I do that
-
- Choose random rows from a table
by AlanRoller
- 3 Replies
- Last post
by Dick Donny
- Problem: From a table with 106 rows, choose 25 random rows and display them on a form for the user.
Question: Is there any way to randomly choose rows from a table
Note: My programming experience comes from some game scripting and using Access; I¡¯m just learning Visual Studio 2005. I¡¯m working on a small game that mostly uses data to simulate buying and selling stuff.
Wha
-
- find hex in a string or memorystream
by A Bodnar
- 7 Replies
- Last post
by Angela Bodnar
- I am trying to figure out how I can find hex data in a string or memorystream.
I have tried with a string:
firstString.IndexOfAny(Conversion.Hex(&H0))
firstString.IndexOf(Conversion.Hex(&H0))
firstString.LastIndexOfAny(Conversion.Hex(&H0))
and these work, but I want to find something like &HFF00AA55
It does not work when I try to use more than one character follo
-
- Selecting unprotected content in an Protected document
by Lee Chun Yong
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi All
Current having some problems with Microsoft Words
I need to select and retrieve all contents of unprotected regions in a particular words document using vb.net.
Header bookmark1 [ contents ] bookmark2 text in [ ] is unprotect, rest of the document is protected
need to do this becos im required to 'copy' the contents in the unprotected region and paste it in other documen
-
- ActiveX Registration
by Mooshy
- 0 Replies
- Last post
by Mooshy
- I wrote a program and I want to add an ActivX ( Shockwave flash object ). When I add this object to my form an error message appeared : " Failed To Import ActiveX Control. Please ensure it is properly registered ". But when I create an other project I can add this ActiveX to my form.What should I do to fix this problem Thank You For Your Response
-
- Filling a new dataset from another
by Davids Learning
- 11 Replies
- Last post
by Derek Smyth
- Can someone help me on how to do the following:
Create a New Temp DataSet
Fill the new dataset from a filtered database dataset
I am needing to create a temp dataset to use in reports. I need to provide a filter, then retrieve the records that match from a database dataset then fill the temp with the results.
Davids Learning
-
- VB 2005 has no Image control?
by Leo_82
- 3 Replies
- Last post
by element109
- I'm just a casual hobbyist, but I'd appreciate any suggestions or advice.
Until very recently I've been using VB6 to make a chess program as a hobby. I found the Image control very useful for layering many images over each other, such as pieces and the chessboard. I've just started using VB 2005 and found no Image control. So I'm lost - is there any way I can add the same control or similar
-
- A question about Classes
by Beshr Kayali
- 4 Replies
- Last post
by Beshr Kayali
- hey!
I've just started learning classes in VB 2005, and here is my first question.
I'm trying to create a property, for example a String type one, Is there a way so I can be able to change the value of this property only by code Like I want to lock or something.
Another Thing, I'm using the Property Grid Control, and it worked fine for my object, and it showed my properties in it, but
-
- Problems Comparing Strings
by robinjam
- 3 Replies
- Last post
by robinjam
- I'm having problems with a networked program I'm writing. The program opens a tcp connection with a host, receives a string containing the version information (to check for updates) then compares it with the client version.
The client version is "ALPHA", and the server version is "ALPHA". However, when i compare the versions to see if they match the result is always false, i