|
No No sorry boss , i did not mean that.
i was trying to get some information about the deploymnet steps in vb.net.
Ones i have created the deploymnet project for my application.
then i am getting the error that the deployment project does not contain the .net framework exe.
But i have added to it.
May be i was wrong in pursuing the right steps to create a deployment project.
Now what i wanted to ask is that is there any link that illustrates the deployment steps...... including the way how to add the .net framework exe.
|
|
|
|
|
I have a form in which i havea a Print Button and i also have three Printer in a lacal network.I wnat that when i press the Print button than all three pirnter print the data from database tables.Plz help me
-- modified at 3:13 Monday 14th May, 2007
suhail
-- modified at 5:44 Monday 14th May, 2007
|
|
|
|
|
You can get the names of all the installed printers from the System.Drawing.Printing.PrinterSettings.InstalledPrinters collection. Then in your printing code, you can set the PrinterName property of your PrinterSettings object to the name of the printer you want to print on. To start the printing code, all you have to do is call the Print method on your PrintDocument object.
|
|
|
|
|
Please can u? explaing me in detail with coding.
|
|
|
|
|
I don't have the time to put together a sample. I've already given you all the pieces you need, plus they double as search terms for use with MSDN or Google. You have to understand how the pieces work, then how they fit together. You'll be able to build this if you put the time into it.
|
|
|
|
|
How to get data in column from dataset?
i have data in dataset and i want data from some column in dataset.
|
|
|
|
|
dataset.tables(0).row(0).column(0).item(0).tostring()
|
|
|
|
|
Easy..
if (lv_DtSet.Tables[0].Rows.Count > 0)
{
foreach (DataRow lv_Row in lv_DtSet.Tables[0].Rows)
{
if (!Convert.IsDBNull(lv_Row["ColumnName"]))
String ColumnData = (String)lv_Row["ColumnName"];
}
}
"If our Mind can, the Program can !!" ≡ ░Ŗǿђầŋ٭ ≡
|
|
|
|
|
What is the difference in using the column index and the column name?
which one is advantageous?
-- modified at 2:11 Monday 14th May, 2007
|
|
|
|
|
Both have their own importance.
Lets consider an example
Suppose you are getting data from Database using a Stored procedure.
Stored procedure contains Select as..
Select ID, Name, Value from Table1
When you will use this DB procedure in the C#..
You have 2 options Either to get by Column name or by Index..
<br />
long id;<br />
String Name, Value;<br />
<br />
id = (long) lv_DtSet.Tables[0].Rows[0][0];<br />
Name = (String) lv_DtSet.Tables[0].Rows[0][1];<br />
Value = (String) lv_DtSet.Tables[0].Rows[0][2];<br />
<br />
id = (long) lv_DtSet.Tables[0].Rows[0]["ID"];<br />
Name = (String) lv_DtSet.Tables[0].Rows[0]["Name"];<br />
Value = (String) lv_DtSet.Tables[0].Rows[0]["Value"];<br />
Now, if you look at Index case you don't know which value u r retrieving.
So, if someday DB person changes sequence of columns say..
Select ID, Value, Name from Table1
you r in trouble. B'coz no exception will be raised.. bt Name and Value will get interchanged.
So I will prefer to use Column name in this case. B'coz Changing of column name in DB is less likely. And eventhough the Sequence of columns in Select query gets changed, u don't have to change your code.
But there are some times.. u don't know column names OR u want to read data serially Column1, column2 etc.. then use Column indexes.
Depends on situation.
But I will prefer to use Column name as far as possible.
And by the way its.. ROHAN
"If our Mind can, the Program can !!" ≡ ░Ŗổђầŋ٭ ≡
|
|
|
|
|
Is there any difference in the speed that who will get u the records quickly???????
|
|
|
|
|
As long as i know there is no difference in speed while retrieving data.
"If our Mind can, the Program can !!" ≡ ░Ŗổђầŋ٭ ≡
|
|
|
|
|
|
This[^] will convert it for u.
"If our Mind can, the Program can !!" ≡ ░Ŗổђầŋ٭ ≡
|
|
|
|
|
|
Hi all,
I was wondering if anyone knew of a relatively easy way to draw a random line through a value of X on a graph.
I then need to pull two points from the line.
None of this needs to be graphical or even displayed i just need the points as text output to be use later.
Any ideas at all would be greatly appreciated.
|
|
|
|
|
Use random numbers
Dim rnd As Random
s = rnd.Next()
Gg
|
|
|
|
|
thats not exactly what I meant
I'm not looking for truly random numbers
I'm looking for 2+ random points on a line that intersects x at a given point
|
|
|
|
|
If you generate the equation of the line, you can sub x values back in and calcualte y values.
e.g.
y = x + 2<br />
Say x = 2<br />
y = (2) + 2<br />
y = 4<br />
Therefore the point = (2,2)
Looks easy on paper, yet i imagine it's somewhat more difficult to accomplish in code. Hope this gets you started.
Posted by The ANZAC
|
|
|
|
|
hi,
i have application in which No MDI form present.My problem is that i found one icon for each open form when i press ALT + Tab keys. However all form (Except main form) ShowInTaskBar property is set to false.
i want to show only single icon for my application (whether one or multiple form is open)when user press ALT + TAB keys to switch between multiple application.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
If u r asking for same icon for all the forms in ur application.
then u need to choose a common icon for all forms.
Is this what u r asking for???????
|
|
|
|
|
hi Nilish ,
i m not asking same icon for all the forms.
My Problem is that when I press ALT+TAB key then there r more than one icon in SWITCH WINDOW for my application. No. of icons in SWITCH WINDOW is equal to opened form in my applicaton. How can i prevent this thing .
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Rupesh , I think u need to take the MDI .Then u don't even need to set the ShowInTaskbar property to true.
|
|
|
|
|
hi nilish,
my main form contains some container control .so i can not change the main form to MDI.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Sory Boss, I can't help u in getting rid of icon to appear in the switch window.
For that u need to wait for people like christian Graus , Kubben etc...... to join this thread
|
|
|
|