| |
thread by: J-T |
last post Feb 9 '06 by: Cor Ligthert [MVP]
Hello All,
I have two objects one is Product and the otherone is the Category. Category
object is like Food,books,Medicine and etc which has different tax rates .
My product object has properties like name ,price , CategoryID. I need to
create a collection of my products and in this collection I want to have the
Categories tax rate too? How...
|
thread by: Brij Singh |
last post Nov 20 '05 by: Brij Singh
Hi,
Is There a way to read svg files using VB.Net
stream reader or any other method.
|
thread by: Vibhu |
last post Nov 21 '05 by: Vibhu
Hello All,
I am trying to update a database using dataset but seems that I am
missing out something. After going through a lot of posts and checking
my code, I am still at my wits end to figure out how to do a simple
update.
Here is the code. Any help would be greatly appreciated.
Regards,
|
thread by: OpticTygre |
last post Nov 21 '05 by: Lloyd Sheen
I have a listview where users can add items via a textbox and an 'add'
button. The problem is, the code below doesn't work for keeping duplicates
entered. If I create a ListViewItem with the same data in it as another
ListViewItem, why aren't those two items considered equal? For example, a
Debug.Writeline(lvItem1.Equals(lvItem2)) would...
|
thread by: Brian Henry |
last post Dec 13 '05 by: Willy Denoyette [MVP]
does anyone know of an easy way to say how long has a specific system been
up and running? I just need to get back the uptime of the servers on our
network for a report, they are all in a Active Directory domain... needs to
be in C# or VB.NET preferably. thanks!
|
thread by: Matt |
last post Mar 22 '06 by: Julia Beresford
I'm using VB.Net 2005
Ok so I have this object that I create on Form 1.
Form 1 in turn calls Form 2 that needs a copy of that object to do its
work.
Is there any easy way that I can copy or pass that Form 1 object to
Form 2? I don't want to make it a global object.
|
thread by: Hans |
last post Apr 9 '06 by: Hans
Hello,
I want to put logging functionality in my application and i want to store
this information in an XML file with date, string and integer values.
How do i write just one record to the XML file.
I don't want to use a dataset and i don't wan to load the entire file into
memory.
|
| |
thread by: Hexman |
last post Oct 5 '06 by: Hexman
Hello All,
What I'm trying to do is update a child record using a parent-child relation. I want to find out if it is faster than than doing multiple selects.
Anyways, I've created a dataset (ds), have 2 datatables (dtRC and dtST). Created the parent-child relationship with multiple columns and added the
relation to the dataset.
Now what...
|
thread by: Marcolino |
last post Jun 27 '08 by: Marcolino
Hi,
another question for you.
I looked around but found nothing.
I have a MDI container calld frmMDIMain, that contain some child
form....one of that forms is called frmPostIt and I need that form
stay always on top of all other child contained in MDI.
is possinble to do this?
Many thanks in advance
|
thread by: iftekar14 |
last post Aug 25 '09 by: MrMancunian
i have to create this at VB express 2008
When the user clicks the Process Files button, do the following:
Read and process the contents of each of the 6 files.
Each file contains data in a different format.
and display them in arrylist. In the list it should contain name of the file and number of person in the text file example below.
...
|
thread by: Fred Flintstone |
last post Nov 20 '05 by: Fred Flintstone
I'm creating a multi-column dropdown since there isn't one. My idea
is to override an Infragistics Combo and add the dropdown as a grid
object. So I create a basic override of the control. The first thing
I want the control to do is kill the default button and add a new one.
So in the initialization (New) area of the control I add the code...
|
thread by: Johnny Granberg |
last post Nov 21 '05 by: Cablewizard
Im trying to make a software in VB.NET that is supposed to handle high-res
images, ive discovered theres a limit in the size of the bitmap object
around 10000x10000 pixels.
The program takes a number of input files and then create new files with
parts of the input files.
so basicly i load the input files in memory so the program will be...
|
thread by: =?Utf-8?B?VG9ueSBBLg==?= |
last post Jul 24 '07 by: =?Utf-8?B?VG9ueSBBLg==?=
I have a datagridview on a Windows form where one of the columns is a
checkbox. After checking or unchecking the checkbox I try to update the
database. The following error appears
System.InvalidOperationException was unhandled
Edits to Textbox columns update without a problem. Any suggestion on what
I'm doing wrong. Thanks...
--
|
thread by: =?Utf-8?B?dmlubw==?= |
last post Aug 7 '08 by: =?Utf-8?B?dmlubw==?=
Hello
I have created a TreeView and i wish to select a node into it
and then expand the selected node.
Is someone has an idea ?
Thanks
|
thread by: Bob Staas |
last post Jun 2 '11 by: David Gluth
I'm looking for a little help; I've tried everything. Here is a little section of code of a bigger project. What do I need to plug into the ? in the FillRectangleRectangle call to get this to work? I got the FillRect... example from MSDN, but I can't figure out how to call it correctly.
Thanks for any help.
-Bob
Private Sub...
|
| |
thread by: alex |
last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hi,
when building a new project i get the following errors
Invalid language characters in property 'Depenendencies'
Invalid language characters in property 'Files'
It all points to ICSharCode.SharpZipLib.dll
Checking in the property window I cannot see what the error could be.
The projects builds successfully so it does not seem to be...
|
thread by: Dave |
last post Nov 20 '05 by: Jay B. Harlow [MVP - Outlook]
I'm having a problem trying to set up code in VB to handle the case where an
argument in an API definition is defined as a pointer to a pointer. An
excerpt from the API's definition is:
void ** Object //Pointer to an interface pointer
Object
Pointer to an interface pointer variable that receives a pointer for
|
thread by: Michael |
last post Nov 20 '05 by: Herfried K. Wagner [MVP]
I'm trying to use the Bitmap class's Save Method to save a Bitmap as a
GIF. My code runs fine, and converts the image, but the quality is
not anywhere close to as good. I know that GIF quality is not a good
as a BMP's but, is there a way to convert the image while preserving
its quality. Any help would be greatly appreciated. Here's what I...
|
thread by: John |
last post Nov 21 '05 by: Sahil Malik [MVP]
Hi
When using Table Adapter Configuration Wizard if 'Use SQL Statements' is
selected as Command Type, the data table's name in dataset is retained and
only its data adapter's select statements are replaced. If however 'Create
new stored procedures' is selected as Command Type, the data table name in
replaced by the name of the newly created...
|
thread by: cc |
last post Mar 15 '06 by: cc
Hi,
From a C# application am I writing some text in a Word.Table, in a Cell of
the Table to be more precise.
The cell has a certain width and any string written in the cell will cover
one or more lines in the cell depending on its length. In other words, it
will use wordwrapping
Now, I have to determine the amount of lines that the...
|
thread by: Thammarat charoenchai. |
last post May 13 '07 by: Thammarat charoenchai.
Hi, I'm wonder VB have som function to get First day of the week?
like I'm have
dim d1 as datetime=12/5/2007
d2 = firstweekday(d1) '=7/5/2007
thank you very much
|
thread by: Taras |
last post Nov 20 '05 by: Herfried K. Wagner [MVP]
Hello!
I have a problem. I'm using a dataset in VB.NET with multiple tables with
relations between them. I would like dataset to update to all related tables
with right identity, when certain record is added.
The problem is that I don't know how to do it, when I'm not using stored
procedures. I found an article in which OnRowUpdated event...
|
thread by: Christopher W. Douglas |
last post Nov 20 '05 by: Herfried K. Wagner [MVP]
I am developing an application in VB.NET using Visual Studio 2003. I have a
dialog box where the title may be somewhat long, so I want to resize the
window to fit the entire title. I already know to use CreateGraphics to
measure the length of the string, so my code is something like this (from
the Load event):
objGraphics =...
|
| |
thread by: Charles Law |
last post Nov 20 '05 by: Charles Law
Under what circumstances would e.Cancel be set to True on entry to the
Closing event of an MDI child form?
I have found that this is why my application won't close properly. I can
explicitly set the value to False, but I would have expected it to be False
on entry.
TIA
Charles
|
thread by: Paul |
last post Nov 21 '05 by: Paul
Hi, I am getting 217 for the julian day for today,
but I think it should be 230. Julian day simply increments each
day from the beginning of the year. The system day is
tuesday aug 17th, which is correct.
Dim myCal As New JulianCalendar
Day = myCal.GetDayOfYear(System.DateTime.Today)
--
Paul G
Software engineer.
|