|
Glad to help. The core advice I'd like to give you - when someone used to asp tries to use ASP.NET the same way, the result is bad ASP.NET code. I recommend looking at some sample projects or sources on ASP.NET, so you can get a handle on the ways in which it is totally different to classic ASP.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sure. I will....
Thanks
Sebastian
|
|
|
|
|
Does VB.NET Can get website ICON?
Socheat
|
|
|
|
|
Can you please elaborate on your query?
|
|
|
|
|
I want to get website icon to to display in my form in VB.NET
Socheat
|
|
|
|
|
So, how many times are you going to ask this question, then ignore what everyone is telling you?
|
|
|
|
|
Hi,
I want to build two vb.net applications running on the same machine.
One application needs to pass data to the other.
How should I go about to implement this?
Thanks,
Gary
|
|
|
|
|
How about one application having a webservice exposed and the other one consuming the same?
|
|
|
|
|
But since internet connectivity between the applications
isn't necessary, isn't this redundant, or at least not efficient?
|
|
|
|
|
By sending command line argument from one application to another.
Rams.
Be simple and Be sample.
|
|
|
|
|
This might work, I would appreciate if you could post a link to some
code demonstrating how to cause a vb app to accept and issue command lines.
The data transfer rate needs to be very fast so I'm not 100% sure on this.
Still this seems like a bit of a workaround. My original thinking was to implement something like the old com object interface, but I understand this is not really part of the new .net concept, so what is the equivalent? Is this an overkill for this type application?
-- modified at 5:26 Tuesday 26th June, 2007
[edit]
I have thought about it a bit and command lines are not good. The data transfer is about once a second. I can't have my standard I\O hijacked by some application listening for command lines. What if I want to use other command lines while the program is running?
|
|
|
|
|
If transfer rate is high, then go with webservice.
Be simple and Be sample.
|
|
|
|
|
For your, albeit brief, description of the requirements, I'd say .NET Remoting over an IPC Channel would be a good choice. You can read up on your communication options here[^].
|
|
|
|
|
Thanks,
This was what I was looking for. I am kind of a newbie to .net and the amount of classes is staggering. There is usually also no connection between object class names in the microsoft documentation to what they actually do, so figuring out what you need is quite difficult.
|
|
|
|
|
errorfunktion wrote: There is usually also no connection between object class names in the microsoft documentation to what they actually do, so figuring out what you need is quite difficult.
That's what the namespaces are for. Granted, I'd probably like to see some sub-namespaces in there to makes things a little easier, but that would break a ton of existing code if that suddenly changed.
|
|
|
|
|
Hi,
I am looping through the rows and columns of a dataset like this:
' Loop thru the rows
For i = 0 To ds.Tables(0).Rows.Count - 1
' Loop thru the columns
For j = 0 To ds.Tables(0).Columns.Count - 1
Response.Write(ds.Tables(0).Columns(j).ColumnName & ": " & ds.Tables(0).Rows(i).ItemArray.GetValue(j) & "<br />")
Next
Response.Write(vbCrLf & vbCrLf)
Next
I just used a lot of prints to see what the output is. I will need to update the records, or insert them, but this check is easy. I need there to be an ID column because this is my primary key. The column names correspond to the field names in the product table. Is there a way of checking, or a search to see if a column names actually exists instead of looping through the fields individually? Or should I just create a function to check this?
I need to check if an ID column exists because this is my primary key, this key is used to either update an existing record, or inserting a new record.
Regards
ma se
|
|
|
|
|
Wouldn't .Select() and a bit of tweak around it accomplish the trick for you?
|
|
|
|
|
You can use
if ds.Tables(0).Columns.Contains("theID") ...
To find out if a column with the specified name exists in the table
|
|
|
|
|
Hi all,
I was wondering if it is possible to have a custom tree view with three check boxs beside each node(right side if possible) which have events attached to them. What I had in mind is somthing like this
-MainTitle
|----Child [] [] []
|----Child [] [] []
|----Child [] [] []
|----Child [] [] []
I am only new to VB.NET, so I'm not sure if this has been done or even can be done.
Thanks,
Nathan
|
|
|
|
|
It can be done. It would take creating an entirely custom control to do. This is not something someone new to VB.NET would normally be able to do.
For an example of a custom TreeView control, look at this[^] and see if you can follow it.
|
|
|
|
|
i am using crystal reports (the inbuilt tool of visual studio 2005).Is there any option which loads the reports with less access time.
|
|
|
|
|
hi sonia,
i have also face this problem. This problem occurs only first time because this time files(related to crystal report) load into the memory so next time reports loads quickly.
one option is load crystal report at startup of your application(take care of visiblity of your report at startup) so next time when you load a report , it takes less time.
Hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Sir,
Dos reports provides the soution to this problem?
|
|
|
|
|
up till now, i don't found solution to this problem. one option is load crystal report at startup but from this option startup takes long time.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
There is no solution. What you're seeing is the time it takes to startup the Crystal Reports runtime. There is simply no way to get around this.
|
|
|
|