|
This will create a web-based installation for your app, NOT run your app as web-based. It will install the application on the computer that the user is on and run it from there.
|
|
|
|
|
Thanks a lot for this information Dave.
|
|
|
|
|
Hi Friends,
I am reading cells from excel vba and storing in oracle database.
I have a problem here: there are some special characters as well as spanish characters in some of the cells in excel. This is not reading properly and storing properly (means storing the same as it is given in excel cell) in the database.
For Eg: string like : mph-434ĆEĘ needs to be read and stored using Vba.
Kindly help how to read spanish characters from excel using vba and store in db.
Thanks in Advance,
Regards,
<pre>
|
|
|
|
|
Don't place the question in Code Blocks.........Code Blocks are for, you guessed it, code!
Dave
Find Me On: Web| Facebook| Twitter| LinkedIn
CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.
|
|
|
|
|
Hi.
Can someone explain what does this code mean??When i search for something in that code i see such thing with diffrent methods.
It's really nice of you to explain what does it do?Why we use it?And where we must use this?
Thank you.
<pre>
<b>[DllImport("advapi32.dll", SetLastError = true, PreserveSig = true)]</b>
</pre>
CanI
|
|
|
|
|
This is the start of a declaration that imports a function from the advapi32.dll. The line is incomplete, so there's no way to tell what the function was.
You use this if you want to call functions that are exported by library .DLL's, and not exposed through a COM interface. For example, you can import FindWindow and GetWindow from user32.dll to get a handle to another applications windows to do almost whatever you want with them.
|
|
|
|
|
Thank you,
I don't mean to explain just this line Code
<pre>
[DllImport("advapi32.dll", SetLastError = true, PreserveSig = true)]
</pre>
I mean totally what is Mean?And how to use and when to use???
Explain me like a teacher...
Thank you.
CanI
|
|
|
|
|
I already did.
I'm not writing up an entire lesson plan for you in a forum post.
I gave you a starting point. This is where you start doing research and teaching yourself. Without that skill, you're not going to last long writing code.
|
|
|
|
|
Thank you,
I don't mean to explain just this line Code
<pre>
[DllImport("advapi32.dll", SetLastError = true, PreserveSig = true)]
</pre>
I mean totally what is this?And how to use and when to use it???
Explain me like a teacher...
Thank you.
|
|
|
|
|
|
|
|
Imports System.IO
Dim strFileSize As String = ""
Dim di As New IO.DirectoryInfo("C:\temp")
Dim aryFi As IO.FileInfo() = di.GetFiles("*.txt")
Dim fi As IO.FileInfo
For Each fi In aryFi
strFileSize = (Math.Round(fi.Length / 1024)).ToString()
Console.WriteLine("File Name: {0}", fi.Name)
Console.WriteLine("File Full Name: {0}", fi.FullName)
Console.WriteLine("File Size (KB): {0}", strFileSize )
Console.WriteLine("File Extension: {0}", fi.Extension)
Console.WriteLine("Last Accessed: {0}", fi.LastAccessTime)
Console.WriteLine("Read Only: {0}", (fi.Attributes.ReadOnly = True).ToString)
Next
|
|
|
|
|
Hi,
I like to set the DataGridView-Rows height by the following ways...Is it possible?
DataGridView1.rows(0).height=30
DataGridView1.rows(1).height=50
DataGridView1.rows(2).height=20
But the above is not working while
DataGridViewRowHeaders.Visible =False
Thanks
|
|
|
|
|
Is the datagrid visible at the time you are setting this? I've had issues with trying to setup grids when they are not visible and it not working.
|
|
|
|
|
I didn't have any problems with this.
Starting with a DGV with a single row, containing a few columns, i ran this code;
Dim dgv As DataGridView = Me.DataGridView1
dgv.RowHeadersVisible = False
For i As Integer = 0 To 10
dgv.Rows.Add()
Next
For Each row As DataGridViewRow In dgv.Rows
row.Height = (row.Index * 10) + 10
row.Cells(0).Value = row.Height
Next
Dave
Find Me On: Web| Facebook| Twitter| LinkedIn
CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.
|
|
|
|
|
Hi Dave,
Thanks a lot. I learned many things from you....
Thanks Again, You have to live good !
|
|
|
|
|
Paramu1973 wrote: learned many things from you
So vote on the reply to show your appreciation.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi friends,
I have create reminder application without database so i am using XML.
i am new in XML.
Please give some example for read,write and append item in XML.
manipulation
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("XML\\modules.xml"));
foreach (DataRow dr in ds.Tables[0].Rows)
{
btn.Text = dr["Display"].ToString();
}
try to use this code
|
|
|
|
|
See here[^] for the XmlDocument class which should do what you need.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I'm currently looking into developing a GPS application for my company. I already understand how to read GPS NMEA messages however I'm not sure about how to develop the maps. These would be custom maps of factory sites and the like to help clients navigate. I'm trying to figure out the best way to save the map and how to update/move the map at the client moves around. I'm not someone to give me the code to do this, i realize that it is probably complicated. What I'm hoping is that someone has links to tutorials or other code that does something similar. I've been trying to search and have come up with very little. Any help would be greatly appreciated. Thanks in advanced.
|
|
|
|
|
The accuracy you get depends on the GPS device involved and its accuracy. You may well be sending your clients to a couple of hundred feet away.
But, if this is all you're doing, then you just need a rather large image of the site and the GPS coordinates of the four corners of the map. Then it's just a little math to map the clients GPS coords to the map to plot a point on the image.
|
|
|
|
|
I have this software developed through vb6 and its use text file. when run the program its read data from the text file, i need to encode this so that the text file cannot be change (add or delete data from it), i have download some encryption/decryption software with code but could not make it work with my application. Is there any way i can do this putting some decrypting module or code in my software so that the software could be secure.
Kindly help.
Thanks
Zela
|
|
|
|
|
No there is not....
There are two ways to solve your problem. The first is to encrypt the entire file, and decrypt the file when you want to read / edit it. Or you can encrypt the string of text which is contained by the file.
Have you read this[^] article? It will help you encrypt the entire file.
The article on this[^] page helps you encrypting and decrypting a string.
Hope it helps!
|
|
|
|