|
|
sir ,
thanks for quickly reply & link.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Now what is this CRAP? Is this your technical term for an Event Driven Language?
The name is Sandeep
|
|
|
|
|
Hi,
1)VB.Net is Advanced version of vb6. What is .NET in VB.Net,
2)What is framework.
3)If we create some application is it necessary to have framework to run that application(.EXE) on other machine
Please Answer my query.
Nitin Jenwal
|
|
|
|
|
1 - incorrect. VB.NET is a .NET language, which is fully OO, and which uses VB syntax. It is almost completely unrelated to the disaster that was VB6, although the visual basic namespace causes a lot of VB6 nastiness to still exist
2 - a framework is a base class library on which you can build code
3 - yes.
Did it occur to you to google any of this ?
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 )
|
|
|
|
|
Hello Friends...
here i need ur help.
Plz tell me How to change System's Date/Time Format programatically.
ie
if Format is--> D/M/yy
i want to convert it to--> MM/DD/YYYY
I want to change the whole System's date Format.
Thanks in advance!@!!
|
|
|
|
|
for example,
in vb, format(txtDate.text,"MM/DD/yyyy")
in C#,txtDate.text=datetime.now.tostring("MM/DD/yyyy");
|
|
|
|
|
If you need to change the whole system, do it from the control panel in regional settings, you can change the format for the whole computer there, im not sure if thats what you need, but it works, you can choose any format you want
Alexei Rodriguez
|
|
|
|
|
Hello.
Can anybody help me plz. My question is:
Suppose I have items in the listbox, some text in the textboxes and some labels on the form , so I need to print this things in vb.net. how to do that. Actually i made a project on supermarket & I need to print the bill.So help me guyz. Why printing is so hard in .net.
thanks.
Mash
|
|
|
|
|
|
How to export /import data to excel using ADO.Net and how to create excel work sheet?
|
|
|
|
|
|
can somemone translate this MYSQL command to vb.net?
UPDATE `phpbb_config` SET `config_value` = 'NEW DATA' WHERE CONVERT( `config_name` USING utf8 ) = 'newest_username' LIMIT 1 ;
i need to change the "NEW DATA" part.
this is the string i have but it doenst work :
myCommand.CommandText = "UPDATE phpbb_config SET config_value = ?user WHERE CONVERT( config_name USING utf8 ) = newest_username LIMIT 1"
myCommand.Parameters.AddWithValue("?user", username.Text)
cheers
oh and the table looks like this.
database == phpbb , table == phpbb_config , colum ==config_value,,config_name,,is_dynamic
so is the config_name value i want to change, in the 3 colums exists something like 30 records, 4example -
Config_name ---- Config_value --- is_dynamic
activesessions 0 0
record_onlineusers 36 1
newest_username newuser 1 ---->>>> this is the one i want to change
im repeating myself because im stuck. lol
please help
hope someone understand this. lol
|
|
|
|
|
LegionFX wrote: newest_username
Shouldn't this be in quotes ?
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 )
|
|
|
|
|
the entire string is messed up... oh man... im so dead...
|
|
|
|
|
i didn't understand what u want but i have write a code for storing listbox elements to array one by one.
Try this code.
Dim arr(10) As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
With ListBox1
.Items.Add("1")
.Items.Add("2")
.Items.Add("3")
.Items.Add("4")
End With
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Me.Close()
Dim i As Integer = 0
Dim n As Integer = 0
Dim ss As String
n = ListBox1.Items.Count
Try
Do While i <= n - 1
arr(i) = ListBox1.Items.Item(i)
i = i + 1
Loop
i = 0
Do While i <= n - 1
MsgBox(arr(i))
i = i + 1
Loop
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
With Regards...
Sanjay K
|
|
|
|
|
Thnx but i want that the listbox items are not displayed in the message box but the text which user will enter against each item in the textbox.hope u get my point.
|
|
|
|
|
Is it possible to sent two parameters to the same field in Crystal Report?
I have sent a parameter to a field in the report. Now I want to send the other one to the same field, but it replaces the first one. What I want is to send many parameters to show on the report. Is it possible to do that?
|
|
|
|
|
In the crystal report designer when you are creating a new parameter possibly there is a CheckBox which says "Allow Multiple Values" .Did u check that??
Tirtha
Do not go where the path may lead, go instead where there is no path and leave a trail.
Author: Ralph Waldo Emerson (1803-82), American writer, philosopher, poet, essayist
|
|
|
|
|
Yes, I already checked it. When I sent the first parameter, I used this code:
rpt.ParameterFields.GetItemByName("text").AddCurrentValue ("a")
Now I want to send the second one with the same code above, it seems to replace the first one like here:
rpt.ParameterFields.GetItemByName("text").AddCurrentValue ("b")
The result is
"b"
Which I want
a
b
Help me please.............
|
|
|
|
|
I don't use CR, but it would seem that you have to send the "a" and "b" parameters as an array. I have no idea if this will work or do what you want, but this is what I would try:
rpt.ParametersFields.GetItemByName("text").AddCurrentValue(New String() {"a", "b"})
|
|
|
|
|
Just 2 questions that are related.
I have a datagridview control and I would like to have it check every minute or so for the xml file it uses and see if there are any new entries. I am kinds of new VB.net (I have been using MS Access with VBA a while though).
1. I am not sure how to make a timer function that waits for 1 min and checks for updated info. A date/time stamp is part of the XML file so if there are new elements added i can tell by querying for anything past the last date time in the dategridview. I guess really im asking if I should just use the basic system.windows.forms.timer and should I make it a asynchronous thing? Never made something like this that keeps running in the background.
2. Is there a way to manage the XML file so it is not locked when I read it for this timer function? Im not really worried about 5 or 6 clients reading it every min but id be nice to say I have it managed if there are 200 clients. I am currently just using XmlDocument and the .load to read it. If there is a new record to be added im pretty sure that the xml file will need to be locked using (Using) or .lock?
Well thats more than 2 questions and I appreciate your help and this is a great site.
|
|
|
|
|
What are you doing with this? It sounds like a poor-mans version of a database. XML is most certainly NOT suited for acting like a database.
|
|
|
|
|
Yea a poor-mans DB is a good discription.
Its military - a log of radio traffic, instead of writing a log with a pen/paper.
The problem is one user creates a new log for his radio net. A new xml file is started and eveyone else who opens that file has no owner permission so the interface changes so they cant edit the xml file. So 1 guy is beside a radio and about 10 others want to view that log to see whats happening. We currently use mIRC chat but is not prefered. So I have used a xml file to give the guys who want to see what going on a actual file to open. Im not sure how i can do that with a DB?
|
|
|
|
|
This is how I would do it. There is a server that exposes a remotable component that manages the database. This includes creating new logs and notifying all the clients of changes to the logs.
This component would keep track of all the clients connected to it. When one of the clients tells this component to create a new log, the entry is created in the database, then a notification event gets raised with all the clients. The clients can then get the update from the component. The same would also be true for any updates to any log.
You could use a FileSystemWatcher to watch the folder where the XML files are stored, but there are problems with this. The FSW can only "see" changes to the file sizes depending on the O/S file system update interval. Just because a change is written to a file does NOT mean that the files Last Modified time gets updated when the change is made. There can be as much as a two minute delay before the FWS sees this change, depending on the server file system, of course.
|
|
|
|