|
If they are both .NET programs, you can probably decompile the program, change it and recompile. Otherwise, you probably can't do it at all.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I dont know the other program write in witch language but i know cannot decompile it ...
There is any other way ???
|
|
|
|
|
Good Morning All
I have been Building my applications in Tiers and they are working well. i have a Question. the 3 Tier Applications after Compilation will be DLLs now, in my Case when ever i install the Application in my Clients Computer,, my DLL's (Layers). So all the DLL's are in the Same machine and my Users are not many so that doesnt accect the Perfomance of my Application. So i would like to how can i take one Layer and take it to another Server and and another Layer(DLL) to another server, so that when the number of users Grow the perfomance will still be good, and how will the other layer know the location of the other layer if they are separated, is that achieved through code and how.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Vuyiswa wrote: So i would like to how can i take one Layer and take it to another Server and and another Layer(DLL) to another server, so that when the number of users Grow the perfomance will still be good, and how will the other layer know the location of the other layer if they are separated, is that achieved through code and how.
You would do this by writing code to communicate between layers over the network. Odds are, the speed of network traffic will negate any benefits you may hope for.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Let me Google and i will come up with Questions after a research
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi: Does anyone know, or have code, to color the Windows XP taskbar . I know some of the Windows Blinds software does this; but, then both I and the end user would need the software installed.
I sometimes make themes and would like to coordinate the taskbar color with the wallpaper .
And a small program just to do this (and have it reversable by running a second time would be what I want).
If I knew where this item was in Windows I have someone who might be able to help.
thanks, Harry
|
|
|
|
|
An article that I wrote explains the closest way that I have been able to see to do this without expensive software. the article can be found here:Add Transparent Menus and Titlebar Buttons to your Applications[^]
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Hi: Does anyone know how to read the MAC code internally from a program . I want to use this to develop passwords so some software will only install on one machine.
any help appreciated, Swamp Daddy
|
|
|
|
|
You do this with WMI. The processor Id is a better candidate IMO.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
'' Read Mac Address
Public Function GetMACAddress() As String
Try
Dim searcher As New ManagementObjectSearcher("select * from Win32_NetworkAdapter")
Dim share As ManagementObject
Dim sbMAC As New Text.StringBuilder
Dim myMACADD As String = ""
For Each share In searcher.Get()
Debug.WriteLine("value: " + share.Item("ProductName").ToString)
If InStr(share.Item("ProductName").ToString, "Packet Scheduler Miniport") Then
sbMAC.Append(share.Item("MACAddress"))
Debug.WriteLine(" " + sbMAC.ToString.Replace(":", ""))
myMACADD = myMACADD & sbMAC.ToString.Replace(":", "")
Exit For
End If
Next
Return myMACADD
Catch ex As Exception
Throw ex
End Try
End Function
use namespace
Imports System.Management
Thanks
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
Hi all,
I wanted to write an application, that could scan a receipt and read the items bought. Each item is in a list and can be edited before saved. The line on the receipt right before what items that were bought will have "Items Bought". I heard that I may have to use OCR to recognize the items. Can anyone help? If I need to buy a third party OCR, then please recommend one not so expensive with a great success rate.
|
|
|
|
|
You 'may' have to use OCR ? There's really no other way to do it. I'd recommend the Atalasoft libraries, they have OCR, and all the libraries I have used of theirs have been great.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi there
i'm making a very simple downloader in vb.net to download images from a certain server.
just by entering the url of the html file, download location of the images are obtained through some regEx. (and some user inputs)
there are couple of image sizes named accordingly. some images don't have bigger sizes though.
if small image = image001s.jpg
if large image = image001l.jpg
if gigantic image = image001g.jpg
and so on.
the problem is I don't want to have to download the html file to see if a link to bigger size exists.
I just want to check if it exists on the server and if possible i'd like to get the size of the file.
so i just would like my program to return and error or do nothing if bigger sized image doesn't exists.
for example:
I open up example page: http://www.mywebsite.com/2008/03/12/article555.htm
I can see that there are 10 image thumbnails in the htm page named:
http://images.mywebsite.com/2008/03/12/555/image001s.jpg
http://images.mywebsite.com/2008/03/12/555/image001l.jpg
http://images.mywebsite.com/2008/03/12/555/image002s.jpg
http://images.mywebsite.com/2008/03/12/555/image003s.jpg
http://images.mywebsite.com/2008/03/12/555/image003l.jpg
http://images.mywebsite.com/2008/03/12/555/image003g.jpg
so image 1 only has small & large, image 2 only small, and image 3 all sizes.
I want to download the biggest images..
any help?
tia.
|
|
|
|
|
Hello, I am new to VB.Net and require some help?
I am trying to write a program which reads various text files (depending on if a tick box is checked)and combines them in a ComboBox. However I would also like to be able to set the colour from each of the text files? How do I do this?
This is the code I am using to read and combine the text in a comboBox
Dim QNLDef As New System.IO.StreamReader("C:\QNL\QNLDef.txt")
Do Until QNLDef.EndOfStream
Me.ComboBox1.Items.Add(QNLDef.ReadLine)
Loop
QNLDef.Close()
Dim BradyList As New System.IO.StreamReader("C:\QNL\QNLBrady.txt")
Do Until BradyList.EndOfStream
Me.ComboBox1.Items.Add(BradyList.ReadLine)
Loop
BradyList.Close()
Any help would be appreciated.
Thanks, James.
|
|
|
|
|
You need to owner draw your combo box to change text color line by line
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
OK, thanks for the prod in the right direction. I'll continue to search...
|
|
|
|
|
I need help creating a login form using VB.NET that will access our Unix system and issue some type of command or run a script once logged in to the system. Can someone help me on this? Thanks in advance.
|
|
|
|
|
I have an application (VB.Net2) which takes an image (JPEG) file and resizes it.
I have tested this application by putting it into a local version of my website (which also contains local copy of my image library) hosted on my PC. The images shown on the web pages are crisp and clear.
But when I put this same version of the website (including image library) onto my remote webserver, the images shown on the served web pages are markedly pixallated (even in areas that are normally flat colour). I have downloaed the images from the image library to check them on my PC and they are fine.
Why should the website produce crsip/clear images when hosted locally yet grainy/pixallated images when hosted on a remote web server?
Thanks in anticipation.
Chris
|
|
|
|
|
|
I think the problem is with:
Main = iRndNum.Next()<br />
Return Main
Instead you can directly use:
Return iRndNum.Next()
"Legacy code" often differs from its suggested alternative by actually working and scaling.
—Bjarne Stroustrup
|
|
|
|
|
I don't want to permit by using " Ctrl + V " keys onto textbox.
I wanna protect the textbox by using Past function.
How to protect above metter?
Please give me some suggesion...
|
|
|
|
|
use KeyPress event, and if the pressed button is Control then set Handled = true
hope this will help
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi,
I have a Datatable which has a couple of Columns with "Expression" property set.
I have set that Datatable as a DataSource to a DataGridview. Now when I am trying to set a value into one of the column for all the Rows in a loop, it is not calulating the values as set in "Expression" on a single row.
if there are 10 rows then for 9 rows it shows correct value but 1 row it doesn't calulate at all
I checked the loop index but everything is fine.
I am also doing some custom calculations on the "CellValueChangedEvent". Is this because of the event handled separately ??
Can anyone help me on this ? please
thanks in advance
KSS
modified on Wednesday, March 12, 2008 11:10 AM
|
|
|
|
|
I don't know why I am having so much trouble with this. It is only a simple insert into a database. Can someone help me with this. I am so frustrated and the answer is probably staring me in the face.
I want to get the current date in my VB.net desktop program. I then want to insert the date along with an ID and the location. I have tried doing this a number of different ways. But it is not formatting the date correct in the database.
Breakdown:
Code:
Dim shipTo As String = "Test"<br />
Dim dateInv As Date<br />
Dim ID As String = "11111"<br />
Dim command As New OleDbCommand<br />
dateInv = Today<br />
<br />
<br />
<br />
command.CommandText = "Insert INTO [Physical_Inventory] VALUES(" + shipTo + ", " + ID + "," + dateInv.toShortDate() + ")"<br />
command.Connection = connection<br />
<br />
command.Parameters.Add("ShipTo", OleDbType.VarChar, 20, shipTo)<br />
command.Parameters.Add("ID", OleDbType.VarChar, 20, ID)<br />
command.Parameters.Add("DateInv", OleDbType.DBDate, 20, dateInv.toShortDate)<br />
<br />
<br />
command.Parameters("ShipTo").Value = shipTo<br />
command.Parameters("ID").Value = ID<br />
command.Parameters("DateInv").Value = dateInv<br />
<br />
connection.Open()<br />
command.ExecuteNonQuery()<br />
connection.Close()
I am trying to update a Access Database and I get 12/30/1899 in the date field.
Can someone help me.
|
|
|
|
|
Always remember while you are doing perform any operation on Date field with access database always use DateValue() function.
Either Insertion or Updation or Fetching data.
If still your problem persist then let me know.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|