all groups > vb.net > december 2004 > threads for friday december 10
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
About SelectedIndexChanged
Posted by yxq at 12/10/2004 10:18:46 PM
Hello,
There are some items in ListView1, but error will occur in the code below,
why? Thank you.
****************************************************************
Private Sub ListView1_SelectedIndexChanged(ByVal sender As Object, ByVal e
As System.EventArgs) Handles ListView1.SelectedIndexC... more >>
Bubbling properties in User Controls.....
Posted by Jim Hubbard at 12/10/2004 9:02:13 PM
If I create a usercontrol that is a tab with a webbrowser control on it, by
default the new control exposes no properties of the tab or webbrowser
control.
What is the easiest way to bubble the public properties, methods and
functions up to the usercontrol interface?
... more >>
Snap-In GUI Example?
Posted by Jim Hubbard at 12/10/2004 8:49:21 PM
Anybody seen an example of a snap-in GUI done in VB.Net?
... more >>
Custom field in a datagrid?
Posted by Aaron Smith at 12/10/2004 6:53:58 PM
Is there way I can have a datagrid that is bound to a dataset display a
result from a function rather than from a field in the dataset?
As an example, I have a table that has a first name and last name field,
I would like to just display the full name there... Also, I have other
need to, su... more >>
Winforms DataGrid with a 41,000+ records.
Posted by Aaron Smith at 12/10/2004 6:36:32 PM
I have a DataGrid (winforms) that is bound to a table (MSDE) that has
41,000+ records in it. The form loads relatively fast and I can scroll
all of the data... However, when I click in any column of any row other
than the first one, it takes forever to go to that row, even if it's
just the n... more >>
App.Path equivalent in VB.Net Windows Service
Posted by Jim at 12/10/2004 5:45:05 PM
I am writing a Windows Service in VB.Net, and right upfront I need to pass
the path to my config.xml file to the constructor of the class which reads
it. In the old days, App.Path & "\config.xml" would have done nicely. I have
tried using Reflection.Assembly.GetExecutingAssembly.Location but t... more >>
Question about VS2005
Posted by Sahil Malik at 12/10/2004 5:20:21 PM
Fairly simple question - NDocs doesn't work with VS2005.
Can I convert the XML documentation to a readable format using any other
method?
- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
... more >>
Creating custom installer
Posted by Juha Lukkala at 12/10/2004 4:54:54 PM
How can I create custom installer package?
I'm using vb.net 2003 and targetting on win98 - xp
The trouble with package generated with visual studio is language. There is
no choice of Finnish, wich is essential for my projects!
Kind regards
Juha Lukkala
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Debugging
Posted by Mike W at 12/10/2004 4:31:26 PM
When I run my project in Debug mode and I get an unhandled exception, I get
a window that says "An unhandled exception has occurred in your
application..." with Continue and Quit buttons. I would like for Visual
Studio to break on the line of code that caused the exception.
I have
<sys... more >>
Marshal.AllocHGlobal versus Marshal.AllocCoTaskMem
Posted by Hypnotron at 12/10/2004 3:56:59 PM
Hello,
Regarding Marshal.AllocHGlobal versus Marshal.AllocCoTaskMem Does anyone
know the circumstances in which one should use one over the other?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemruntimeinteropservicesmarshalclassalloccotaskmemtopic.asp
... more >>
C# string to VB conversion.
Posted by Kevin Burton at 12/10/2004 3:45:03 PM
I have the following C# string that I need to use in a regular expression for
VB. Does anyone know how I might convert this?
"\<td(\s+(?<Attribute>(?<key>[A-Za-z0-9]+)\s*=\s*""(?<value>[^""]*)""))+\>(?<Message>[A-Za-z0-9 <>,:?.]*)\</td\>"
Thank you.
Kevin
... more >>
using function from dll (from Borland C Builder)
Posted by Furer Ramon at 12/10/2004 2:11:28 PM
I need to call the function mul3 in a dll:
extern "C" unsigned __declspec(dllexport) mul3(unsigned npts, const double *
src, double * dst);
from vb.net
how can i do this?
Greets
Ramon
... more >>
Converting V6 Format to VB.net
Posted by Al at 12/10/2004 1:23:01 PM
Hello
I am trying to convert the following statement to from Vb6 to VB.Net but
with no luck. Can anyone tell me what would be an equivalent of this format
statement would be in vb.net?
For indx = 0 To SendLen - 1
tmpStr = tmpStr & Format(Hex(SendBuff(indx)), "00") & " "
Nex... more >>
Using Process Start to send data to a prompt from a GPG.exe
Posted by PAPutzback at 12/10/2004 1:07:39 PM
I am trying to decrpyt a gpg encrypted file but the process prompts for
a password.
The Process.start function is run in a service so I want to be able to
pass the password without any user intervention.
Thanks,
Phil
... more >>
Making distribution/instllation package with foreing language (Finnish)
Posted by Juha Lukkala at 12/10/2004 1:04:47 PM
I need help!
How can I make Distribution/installation package with finnish language?
I can make it in English and other available localization language, but
there is no Finnish! Is there any way to do translation?
Any other software to make installation packge.
Please Help me!
regards
Ju... more >>
gui design opinions wanted
Posted by ToddT at 12/10/2004 12:27:17 PM
i want to display a text box that contains a string, that is
read-only, but the user must be able to hilite the text in order to
copy it to the clipboard.
how would you cue the user graphically that the control is not
updatable, but the text is still selectable (i.e., i can't simply
disable t... more >>
ForeignKeyConstraint StudentsSchYrSem requires the child key values (21000013) to exist in the parent table
Posted by jaYPee at 12/10/2004 12:16:12 PM
I have created 3 sqldataadapter. each adapter.selectcommand has a
parameter. I have added a textbox to supply a value for each
parameter. My problem is when I press enter the second time to fire up
the keypress event from the textbox I recieved this error in datagrid
object "ForeignKeyConstraint... more >>
Optomise for Speed or refresh - performance question?
Posted by Antoine at 12/10/2004 12:00:48 PM
What is considered best when doing an application that allows you to browse
data eg by month?
I've currently got an app working so it does a complete refresh when you
change the month you are looking at, using a providers SDK tools. This is
reasonably effective - but there is a few seconds o... more >>
VB.NET splash screen
Posted by Chris at 12/10/2004 11:59:05 AM
Hi all, I am writing an application in VB.NET with a bunch of dll in within.
Just wondering how to code a txt box in a splash screen that show the name of
the dll just loaded, also I wish that the main form is showed when all of
dll's are loaded.
I will appreciate any example.
Thanks... more >>
REGEX.Replace Question
Posted by Whitless at 12/10/2004 11:41:01 AM
Okay I am ready to pull what little hair I have left out.
I pass the function below my String to search, my find string (a regular
expression) and my replace string (another regular expression). Why does this
function replace the found reg ex. with the actual string "\t" and not a tab?
(in ... more >>
How to read text file line by line?
Posted by jenniferhu46 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/10/2004 10:53:54 AM
Hi,
I want read line by line and characters. The characters are fix length
text file, no specific delimited method between each fields. The first
line is header line, the last line is footer. Between the first line
and last line is the content, and I will have to load the content to
databas... more >>
Reflection???
Posted by Dennis at 12/10/2004 10:41:03 AM
I pass an array that consists of elements each of an unknown class to a
function. I want to get a list of the properties of the unknown class and
the value for each property for each element of the array. How would I do
this. I tried propertyDescriptionclass but got an error saying I needed... more >>
split an image programmatically
Posted by dinesh NO[at]SPAM palewar-dot-com.no-spam.invalid at 12/10/2004 7:53:34 AM
Hi Everybody,
I need to split an image file(*.jpeg) programmatically to nine or more
equal parts.
Since, the code is meant to run on Windows Pocket PC 2002, I can only
use methods supported by the .Net Compact Framework.
Thanks in Advance,
*-----------------------*
Posted at:
... more >>
prevent user from adding a new record to a datagrid/dataset
Posted by Maria Anthonsen at 12/10/2004 7:03:46 AM
I have filled a datagrid with data from a dataset. The dataset was filled
with a dataadapter - and I used the wizard to create insert, update, delete
commands.
I would like to prevent the user from adding a new record in the datagrid,
but still be able to change/delete data - is this possi... more >>
Declaring & Initializing Classes & ArrayLists
Posted by GrandpaB at 12/10/2004 6:33:15 AM
While writing this plea for help, I think I solved my
dilemma, but I don't know why the statement that solved
the problem is necessary. The inspiration for the
statement came from an undocumented VB example I found on
the web. I would be most appreciative if someone could
explain why thi... more >>
ASP.Net modifiers
Posted by AM at 12/10/2004 1:50:40 AM
Hi, All
Could some one help me. I am using asp.net and I have some buttons and
labels on the form. I use these controls in another class for which I
have declared these labels and buttons as public. But if I add any
other control on the form, all the controls modifiers are automatically
chang... more >>
About Regular Expressions
Posted by norton at 12/10/2004 1:15:23 AM
Hi,
I am learning Regular Expression and currently i am trying to capture
information from web page.
I wrote the following code to capture the ID as well as the Title
Dim regex = New Regex( _
"viewtopic.php\?t=(?<ID>\d+)""\sclass=""topictitle"">(?<Title>.*)\</a>",
_
RegexOptions.I... more >>
DataGrid Conditional ReadOnly Cell
Posted by Doug Bell at 12/10/2004 12:09:49 AM
Hi,
I needed to make a TextBox on a DataGrid ReadOnly based on the condition of
another cell on its row.
I achieved this using a Custom Data Column Class "DacDGTextColLotNo" but I
can't get the TextBox to display its value when you leave the TextBox.
I figure that I need to use the SetColum... more >>
|