|
Regards,
Chatura Dilan
If at first you don't succeed, try; try again, so that you know
what not to do the next time. The answer is out there.
|
|
|
|
|
Hi Chatura,
asl plz.
Nice signatures. Our football coach also says the same,
" All ur mistakes r forgived, but none of the mistake should be repeated. "
Thanx & Regards.
Success is not a Destination,
... But a Journey !!
|
|
|
|
|
I need to export the contents of a datagrid to csv. Can anyone guide me as to how this is done.
With Best Regards,
Mayur
|
|
|
|
|
it was a simple search at google,
1. open a new web page
2. write "www.google.com" to address bar
3. Click "Go" button (it is at right)
4. Then softly click to first result of returned by google.
5. You see "http://www.codeproject.com/csharp/export2excel.asp[^]"
|
|
|
|
|
Hi all
I need do the following based on Boolean Algebra
ex 1. (M271/M272/M651)+(450/965)/M642/M646
All possible result
M271 + 450
M271 + 965
M272 + 450
M272 + 965
M651 + 450
M651 + 965
M642
M646
ex 2 M271/M646+M006/M651+M013
M271 + M006 + M013
M646 + M006 + M013
M271 + M651 + M013
M646 + M651 + M013
Do somebody no where I can find a code library or code to help
me to break up any Boolean Algebra expression into all possible result
Thanks in advance
PS. I also have more complex expression
|
|
|
|
|
Is this possible? I have some funky graphics, but if I have to put them onto a button as an image then they will go a bit wonky. So I basically want is to display the images just as images, but to have a button that will be invisible overlayed on top of it but still clickable. Thus adding the effect of it being a normal button.
Cheers.
|
|
|
|
|
how can i use gridview control to edit & delete records in vb.net.
my grid can show the data but i want to add these functionality too.
please help me.
byeeeeee
|
|
|
|
|
can someone help me! i know that this is not a laptop forum but i have a laptop siemens and he went standby after 5 mins because i didn't move the mouse. how can i bring him back to normal pls?
Thanks for any help
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Correct place-forum for your problem is OS/SysAdmin.
Check properties of your PowerAdapter in Control Panel
|
|
|
|
|
Hi,
I need to call a dll function but have no idea how to declare the function in VB.NET
In the .h file, it is declare as follows:
int CALLBACK gscBsiGcReadTagList(
IN UTILCardHandle hCard,
IN unsigned char* usAID,
IN unsigned int unAIDLen,
OUT GCTag* pTagArray,
INOUT unsigned int* pnTagNb
);
In the C sample code, it is called as follows
void CreateDataInContainer()
{
long lResp = BSI_OK;
unsigned char usAID[BUFSIZ];
unsigned int unAIDLen=0;
char szLecture[BUFSIZ];
GCTag ucTag=0;
unsigned int unTag=1;
unsigned char usValue[500];
unsigned int unValueLen=0;
printf ("\ngscBsiGcDataCreate");
unAIDLen = sizeof (usAID);
GetContainerAID ( usAID, &unAIDLen);
GetString ("\nEnter Tag", szLecture, sizeof (szLecture));
sscanf (szLecture, "%d", &unTag);
ucTag = (char)unTag;
GetString ("\nEnter Data Value ", szLecture, sizeof (szLecture));
strcpy ((char *)usValue, szLecture);
unValueLen = strlen (szLecture);
printf("\nSize of value=%d",unValueLen);
lResp = gscBsiGcDataCreate(
hCard,
usAID,
unAIDLen,
ucTag,
usValue,
unValueLen
);
if (lResp != BSI_OK)
{
DisplayError(" ... ", lResp);
}
else
{
printf ("\n ... OK\n");
}
}
So, can anyone help me with the declaration and calling in VB.NET?
Thanks!
Chen Wu
-- modified at 1:33 Friday 7th April, 2006
|
|
|
|
|
hi
i m making a project could u help me.
i want guidance.......
i have to make a CategoryMaster form in which every cateory have a Image.
& this point is confusing me.
how i will display the image dynmically...& in which control.....
because i have to display these images in 4* 4 matrix.
please give some suggestion.
|
|
|
|
|
You can put them in a picture box or paint them direct to the form.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi
i'm storing these images in database actually these images are temlates so they have there own discription & price etc.
when i store the file name into the databse how ould i cal them.
please explain litte more
|
|
|
|
|
Is this VB6 or VB.NET?
"If i was king cigarettes would be free."
|
|
|
|
|
Hi All,
the tool i am using is mycos web chart and i have no idea how this chart renders the data.
here are my codes.
------
Try
'select the table with only distinct ID based
cmd = New SqlCommand("select distinct measure_id from measuredata m, textdata t where t.ScoreCardId = m.ScoreCardId", objConn)
Dim da As SqlDataAdapter = New SqlDataAdapter(cmd)
Dim dtId As New DataTable("MeasureId")
da.Fill(dtId)
'select all columns with ID
Dim cmd1 As SqlCommand = New SqlCommand("select * from measureData", objConn)
Dim da1 As SqlDataAdapter = New SqlDataAdapter(cmd1)
Dim dt As New DataTable("MeasureSource")
da1.Fill(dt)
Dim datarow As DataRow
For Each datarow In dtId.Rows
Dim myView As New DataView(dt)
Dim chart As New Mycos.MycosChartWeb
chart.ID = "chart" + dtId.ToString
myView.RowFilter = String.Format("Measure_Id='{0}'", datarow.Item("measure_Id"))
chart.DataSource = myView
chart.DataBind()
PlaceHolder1.Controls.Add(chart)
Next datarow
Catch ex As Exception
Response.Write("OOPs what went wrong:" + ex.ToString)
Finally
End Try
------
Now my problem is how to add data to those dynamically generated charts. i also need to assign the ID for each chart. how do i do that. and also i want those charts to displayed in specific area but not one by one in for loop. i dont know if anyone of you have done this. well if you have please help me
thanks
|
|
|
|
|
Is it possible to set the computer to hibernate rather than just turn off using VB?
many thanks
|
|
|
|
|
|
what details are avaliable about a web page when loaded up by VB? can you find the number of images on the page? I am new to non - excel/project VB code & would like to learn about some of the functionalities.
Many Thanks Guys
|
|
|
|
|
Hi
Its a bit a wide question. I hope I am give answer in the right direction, but you can way search through the HMTL
of the page and find all the tags "
|
|
|
|
|
Sorry...should have been
of the page and find all the tags "<IMG" on the pages...
Cheers
|
|
|
|
|
hello, i made a messenger which is for chatting. Now i want to send a file! how can i send a file (textfile) from the server to the client via IP?? can someone help me pls!
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Hi
Have a look at .Net Remoting.
http://samples.gotdotnet.com/quickstart/howto/doc/Remoting/nutshell.aspx.
There are also tuns of examples on the net.
You can binary stream the file to the client using Remoting
On the client you can save the binary stream on the Client machine.
Hope it helps
|
|
|
|
|
Hi guys,
i try to make a new shortcut with this code, but i take an Exception in line with #:
Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))
What's the problem??
Please help me..
Code:
'com reference : Windows Script Host Object Model
Imports IWshRuntimeLibrary
Dim LinkPathName As String
Dim TargetPathName As String
TargetPathName = TextBox1.Text '& " +set dedicated 2 +exec kostas.cfg"
LinkPathName = "C:\Documents and Settings\All Users\Desktop"
Dim shell As New WshShell()
Dim link As IWshShortcut = CType(shell.CreateShortcut(LinkPathName), IWshShortcut) #in this line
link.TargetPath = TargetPathName
link.Save()
|
|
|
|
|
kostasdiktia2 wrote: LinkPathName = "C:\Documents and Settings\All Users\Desktop"
You need to have a name for your shortcut:
LinkPathName = "C:\Documents and Settings\All Users\Desktop\My Shortcut.lnk"
----------
There go my people. I must find out where they are going so I can lead them.
- Alexander Ledru-Rollin
|
|
|
|
|
oh Thanx..
Now, i have one more question..about the target of the shortcut..
i want the target has this look:
"C:/Program.../game.exe" +set dedicated 2 +exec kostas.cfg
no this: "C:/Program.../game.exe +set dedicated 2 +exec kostas.cfg"
to unlock some features of the game..
Please help me again in this theme now..
Thanx in advance..
-- modified at 18:14 Thursday 6th April, 2006
|
|
|
|