Any Way To Extract Code From .exe File?
Hi, I've just created a Encrypting / Decrypting program, and would like to know if theres anyway to to extract the code. I made he .exe, but accidentally deleted the forms . All I have is the project file.
Thanks, e.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Extract VB Code From MDE File
I work on a big company and i was tell to modify an Acces DB System, the problem is that i was only provided with the mde file and they don´t have de mdb one. I just need to extract the VB code from the forms, specially one of them, i've tried to unblock de mde but it doesn't let me add new VB components to de form, so, if i can't extract the vb code i'll have to do it all from the bottom.
Thank for any response...
Code To Extract Data From Text File
can someone supply me with some code to extract data from a text file from its header to the next blank line which would be the end of the section
plz
Extract Code From .exe
Does anyone know if there is a way to extract the code from a VB .exe file? If so, please advise me. Thank You
Extract Code From Exe
I recently had a major crash on my pc thanks to my 3 1/2 yr old daughter and i had to reformat my hard disk, losing everything.
But i had sent a programme to a mate who emailed it back to me, is there any way of extractiing the code from the exe file.
If anyone can help i will be so gratefull as it took me weeks to write it.
Thanks
Extract VBA Code From .xls
I have a problem with a .xls file. It seems to use a VBA code that doesn’t work. The file wont open even if I chose not to activate macro. And if I do open it with macro – it comes back with – FILE NOT FOUND – then the program terminates.
So I would like to somehow extract the VBA-code and try to find the fault…
Anyone have any idée?
Regards,
Adam
Extract Source Code
Was wondering if anyone could help me get the code out of these files?
i purchased a electronics kit and the vb example is in vb5 i think. I only have vb 2005 express edition.
Also posted in vb2005 forums
Regards
toe
How To Extract Code From Program
I got this program and i want to know how it works i wan to extract the coding from it can someone tell me how. I don't even know what language its written in.
Help me plz
Thanx
To Extract Spcific Xml Code To Excel Using VB
I have an xml which contains many details. but i want to extract only a particualr detail eg: sort and output it to excel using vb.
eg:
in XML:
<sort>
<type>ascending</type>
<level>1</level>
</sort>
output expected in Excel:
Column :sort
Value in the next row :ascending
Is there any way for the this. Do guide me. Since its very urgent
ADO Connection,extract From XML- Plz Help...error With Code
Hi all,
I have XML files with the following template
<Queries>
- <Query Name="Test Query" DataSource="FODB">
<SQL>SELECT blah blah blah</SQL>
- <Params>
<Param>SEDOLCODE</Param>
<Param>BATCODE</Param>
</Params>
</Query>
</Queries>
Each query has a separate XML file. I wanted to select an XML file and read the contents from it.
I have the following code but get the error:
3265: Item cannot be found in the collection corresponding to the requested name or ordinal.
Private Sub CommandButton1_Click()
On Error GoTo RecError
Dim adoRS As ADODB.Recordset
Set adoRS = New ADODB.Recordset
Dim strsql As String
Dim strparams As String
Dim strBindVars As String
' Set up the Connection
adoRS.ActiveConnection = "Provider=MSDAOSP; Data Source=MSXML2.DSOControl.2.6;"
' Open the XML source
adoRS.Open "\eastwoodeucapplicationsdevDDEDavidFinal.xml"
If adoRS.BOF And adoRS.EOF Then
MsgBox "File empty"
Else
'strsql = printtbl(adoRS, 0)
strsql = printtbl(adoRS, 0, "SQL")
End If
strBindVars = "<?xml version=""1.0"" encoding=""UTF-8""?><BindVars><Param Name=""SEDOLCODE"">0004455,0798059</Param></BindVars>"
RunFODBPackage strsql, strBindVars
Set adoRS = Nothing
Exit Sub
RecError:
Debug.Print Err.Number & ": " & Err.Description
If adoRS.State = adStateOpen Then
For Each Col In adoRS.fields
Debug.Print Col.Name & ": " & Col.Status ' Error Status
Next Col
End If
End Sub
' Function to recursively retrieve the data
Function printtbl(rs, indent, node) As String
Dim rsChild As ADODB.Recordset
Dim Col As ADODB.Field
Dim strRetSQL As String
Do While Not rs.EOF
For Each Col In rs.fields
If Col.Name = node Then
If Col.Type <> adChapter Then
' Output the non-chaptered column
Debug.Print Space(indent) & Col.Value,
strRetSQL = Col.Value
End If
End If
Next
rs.MoveNext
Loop
printtbl = strRetSQL
End Function
Function RunFODBPackage(ByVal SQLString As String, ByVal BindVars As String) As ADODB.Recordset
'###############################################################################
' Description : XXX
'
' Return : An ADO record set.
'###############################################################################
Dim lrs As ADODB.Recordset
Dim cmd As ADODB.Command
Dim stream As ADODB.stream
Dim streamOut As ADODB.stream
If basADO_Tools.OpenDBConn(gConnFODB, basGlobal.GetConnectionString("FODB")) Then
' gConnFODB.CursorLocation = adUseClient
'Retrieve the file and update the parameter value
Set stream = New ADODB.stream
stream.Charset = "iso-8859-1"
stream.Type = adTypeText
stream.Open
Set streamOut = New ADODB.stream
streamOut.Charset = "iso-8859-1"
streamOut.Type = adTypeText
streamOut.Open
stream.WriteText BindVars, adWriteLine
Set cmd = New ADODB.Command
' gConnFODB.BeginTrans
With cmd
Set .ActiveConnection = gConnFODB
.Properties("SPPrmsLOB") = True
End With
cmd.CommandText = "pk_xml_utilities.p_get_xml"
cmd.CommandType = adCmdStoredProc
cmd.Parameters.Append cmd.CreateParameter("pv_query", adVarChar, adParamInput, 8000, SQLString)
cmd.Parameters.Append cmd.CreateParameter("pv_xslt_filename", adVarChar, adParamInput, 255)
cmd.Parameters.Append cmd.CreateParameter("pc_xml", adLongVarChar, adParamOutput, 900000000)
cmd.Parameters.Append cmd.CreateParameter("pc_binds_xml", adLongVarChar, adParamInput, 900000000, BindVars)
cmd.Execute
Set RunFODBPackage = lrs
End If
End Function
Can anybody PLLZZZ help me!
Thanks in advance
Carlos
VB Code To Extract Username/logon Name
HI Again and thanks for coming back with solutions to my problems.(and contributing to my learning)
I am designing a small helpdesk style app in VB6
I need some code to show the name of the user currently logged in.
Thanks.
Extract Links From Web Page Souce Code
I was wondering how i would allow the user to select an extension from a combo box. (*.jpg,*.gif,*.wav,*.mp3 ,*.*, etc.) and then it would download the source code for a webpage and search through and extract the links specified.
What i am asking about is how would i do a search algorithm to extract the links specified.
For example i go to a page with 25 pictures and i put the url in my program and it goes out and downloads the source code and extracts all of the *.jpg images and adds them to a list box.
Extract Required Code From CD Sector Viewer
Can anyone just extract the required code for me for this project? This isn't my project, so I have no idea what is needed for it to run. This project also came with other projects and they all used the same module and class module. Thanks
Opening A File, Extract Data And Send A File Via Infrared
Dear Friends,
I am new to this forum and also new to Visual Studio. I need to produce a program which does the following...
1.Use System File Watcher to know that a file has been received in a particualr directory from a mobile phone.
2.Open that file with notepad (the file is not opened by notepad by default), Find the word 'Body:' and save the string found after it.
3.Send via infrared, a file '.jpg' loacated in a particular directory with the same string name as the one stored.
Can you kindly suggest to me some coding?
or at least some website where I can get some tips, tutorials, help.... Cause I don't have the MSDN help installed!
The coding I require is on how to open the file (which is arrived and systemfile watcher noted) with notepad..and how to extract data from it.
Thanks,
Franklin
URGENT...PLEASE!... Are There Scripts, Programs, Anything That Ca N Extract Code From A Visual Basic Application???
All,
I have a VB application and am unsure of what version it was created in. I
am interested in accessing the code so that upgrades, changes, etc. may be
made for our client. Howeve,I need to know immediately if this will be a
"from scratch" or upgrade type project.
Thanks in advance for any response.
Brandy
************************************
If this email is not intended for you, or you are not responsible for the
delivery of this message to the addressee, please note that this message may
contain ITT Privileged/Proprietary Information. In such a case, you may not
copy or deliver this message to anyone. You should destroy this message and
kindly notify the sender by reply email. Information contained in this
message that does not relate to the business of ITT is neither endorsed by
nor attributable to ITT.
************************************
Programittically Download A Zip File And Extract The Csv File Into A Bcp
This is a pretty tough one. There is a website PJM.com that contains energy pricing data in csv format. The file names are by date, ex. 20001129-da.csv The da is for Day Ahead pricing. the way the program is designed, based on the date, it creates a file with the same as the one the web site that is going to be downloaded into. The pprogram then takes the data from the website and inputs it into the file that the program creates with the same name using msinet.ocx and inet1. THIS WORKS JUST PEACHY.
The problem I am having is that past data is zipped up into a directory that contains 4 subdirectories and finally the last one contains the file. I am not sure how write a program that will extract the data from that zip so that it will be stored in the root directory where all of the other csv files are contained. I need some serious help on this one. Thanks in advnace.
Mike Reese
Web App Developer
Sunoco, Inc
How Can I Extract A .RAR File Using VB6??
Hi every1..
It's really nice to be here.. well i'm a new mmbr in here, n i got a little question..
How can i extract what's in a .RAR file using VB6??
could any 1 plz help??
thanks..
Extract From File
ok I'm trying to extract information from a text file which i do not know the length of. the first line reads
" Todays highest temperature is 23 C 24/01/2004" (there could be numerous lines ) each with different temperatures and also the dates will be different 'cos you input the temperature everyday.
this code does some of it can i use a loop do extract the data i need,
also not quite sure how to fill the temperatures and the date into arrays?
here is my code:
VB Code:
Dim String1 As String ' textfileDim sNum() As Integer ' array to store the temperaturesDim sDate() As Integer ' array to store the datesDim Num As IntegerDim sString As String ' temp temperature store String1 = Text1.TextString1 = Replace(String1, " Todays highest temperature is ", "") ' remove this sentenceString1 = Replace(String1, "C", "") ' remove CelciussString = Mid$(String1, 2, 2) ' extract first number which is the temperatureNum = CInt(sString) ' convert string to integer String1 = Replace(String1, Date, "") 'remove dateDebug.Print NumDebug.Print Date frmChart.Text2.Text = String1 frmChart.ShowEnd Sub
Extract From WP 5.1 File
Hi All,
I want to extract some lines from WP 5.1 documents and write the extracted lines to a CSV file for future import in a database or Excel file. All WP documents is build of several pages – and each page contains one (1) table with different structures. The lines I want to extract from, are all the rows that include 7 columns and where the first columns first character are a digit. Each row must be written as a line where the contests of each column are separated by semicolon. I don’t want to run or open any other programs then my own VB-app. If anyone know how to do this I would really appreciate the help! Thanks in advance!
Marci Sarwan (marci_sarwan@yahoo.com)
P.S. If it's not too much trouble can you please provide some sample code with the solution. Thanks a million!
Extract Zip File
Hi,
Is it possible to extract a zip file from visual basic application ?
thanx,
pokpoki.
Extract Image From File?
I'm looking into using DirectDraw for a skinnable program (yes, it's probably overkill, but it works so well) but I want the skin to be a single file and let it contain multiple images (so I only load in memory the ones I need) and also values for colors, text, and other information. I'm new with DirectX and I've used the CreateSurfaceFromFile to create a surface, but I really don't want to extract the image, save it to a temporary file, and load it in. I'd rather load it from a binary red directly. Is there a way I can get DirectX to see information in that sense as an image?
Extract Text From .doc File
Here is the first draft of my procedure to retreive but text from a .doc file, but it seems that embeded objets are a real hassle to remove from the text as I have not yet found then starting and ending quotes or chars delimiting the embeded object.
I would appreciate a hand on the subject
Code:
Private Sub Command1_Click()
Dim fichier$, numfile%, textfromfile$, lastpos%, i%
Dim Remplacements$, Suppressions$
Dim TabSupp As Variant
Dim TabRemp
CommonDialog1.ShowOpen
If LCase(Right(CommonDialog1.FileName, 4)) <> ".doc" Then
MsgBox "Ce n'est pas un fichier .doc"
Exit Sub
Else
fichier = CommonDialog1.FileName
numfile = FreeFile
Open fichier For Binary Access Read As numfile
textfromfile = Space$(LOF(numfile))
Get #numfile, , textfromfile
Close #numfile
textfromfile = Right(textfromfile, Len(textfromfile) - 1536)
'and here I end up with text and embeded objects, I need to know where an embeded object starts and where it ends to be able to remove it from text
'verification des embed
Dim StartPos&, EndPos&, StartCount&, EndCount&, StartChar$, EndChar$
StartPos = 1
EndPos = 1
StartChar = Chr(19) '
EndChar = Chr(20) & Chr(1) & Chr(21)
'suppressions totale
Suppressions = "1,2,3,4,5,6,19,20"
TabSupp = Split(Suppressions, ",")
'remplacement espaces
Remplacements = "7,8,9,10,11,12,13,149"
TabRemp = Split(Remplacements, ",")
For i = 0 To UBound(TabSupp) - 1
textfromfile = Replace(textfromfile, Chr(TabSupp(i)), vbNullChar)
Next
For i = 0 To UBound(TabRemp) - 1
textfromfile = Replace(textfromfile, Chr(TabRemp(i)), Chr(32))
Next
Text1.Text = Trim(textfromfile)
End If
End Sub
How To Self Extract Exe File In Vb (URGENT)
I have created an exe file but don't know how to open or run it back in vb6. My exe contains a self extracted zip file, and I need these files to run my vb program. Can someone please give me some ideas? Thank you!
Extract Binary File
Please help
I need to read and extract binary file. The binary will contain header message and raw data in the middle. My program needs to identify the header and then read the raw data. Please help me or give direction on how to extract binary file. Thanks
Extract Resource File?
Hello,
Is there code out there that will allow me to extract the resource file from a vb executable? I want to grab the languages from the resource file.
Thanks!
Extract Only One File From Winzip
Hi,
I have a winzip file consisting of multiple files and folders. I just want to extract a single file out of it via VB. is that possible?
Extract File From Database
Hi all,
I want to know that how to retrieve a video file from ms-access database embeddas
as ole object and then play it in window media player control. I know how to save image and retrieve it
but to to eal with .avi files.
How To ADD/EXTRACT Files To A .Res File
I need to know a little more, how do i add files (my .exe and its dependencies) to a .Res file... and then how do i add that .Res file to another .Exe file that can UNPACK the files from the .Res file and run them...
So that I can send my users ONLY one .Exe file.... ??
I've read up on the forum,but not found a good/understandable/working explanation...
So i need to know:
-How to make the .RES file in VB6
-How to add .EXE and .OCX/DLL to it
-How to pack that .RES file into another .EXE and have that .EXE
unpack the files that were packed in the .REs file,and then run the .EXE it just unpacked...
Can anyone please explain that,since a lot of you seem to know how to do this... ???
Extract Information From A PDF File
Dear all you,
Would you please give us your instructions on the following questions:
- A brief description about structure of a PDF file.
- How I can extract an image, all text value with text's layout from a PDF file by using VisualBasic6.0. VB.Net source code.
Please mail to me at: hoangwhm@yahoo.com
Thank you in advance.
Hoang.
How Do I Extract A Byte From A File?
I want to get the byte and that he will be deleted from file.
how do I do that?
sorry if i'm repeating my questions.. i didn't find the answer...
Extract Text From File
[file.1.2.3]: Found: jason/lpz !!!
how do i get:
file.1.2.3 = string1
jason = string2
lpz = string3
Extract File Icons...
Hi,
I am showing files with their path, size and creation date in report style listview control. I also want to show file icons in the control just like Windows File Search. Can you tell me how can I extract file icons ??
Thanks.
Extract From Excel File
Hi,
I want to extract information from an Excel file using VB version 6 and then put this information into the corresponding fields in an SQL database.
I think it would be easiest to extract the info from the excel file and put it into a recordset.
Any help would be much appreciated,
Thanks,
Danii
Extract An Icon From An Exe File
i want to use as my app icon say the icon of notepad is there a way to extract it ? i do not want to use screen capture cuase the icon i get is not exaclty the same
How To Extract Attachments From .eml File?
i need a way to extract the attachments from a .eml file. It needs to be able to work for .eml files anywhere on the computer and not just in outlook folders. For example if I had a file at C: heemail.eml i would want to extract the attachment from it to C: heattachment.exe, any suggestions or code would be appreciated.
Extract Part Of A File
Hello, I'm new here.
Hope you can help with the following problem...
I want to extract a part of a file.
I want to send this part, say the first and last 64 bytes of the file to a function.
Does anyone of you know if that's possible and if so, how to do that in VB6 ??
Ask for more info if you need it.
Kleinvaag
How To Extract Info From A .wav File?
Does anyone know how to extract data from a .wav file.
I dl a trial version of a program to convert an mp3 to
a wave file. But after the 30th time it adds some stuff
to the file that I don't want. And I need to know how to
get rid of it. Any suggestions would be appreciared.
Thanks
ande211
How Do I Extract An Icon From DLL-file
I have a really serious problem. I was building my own explorer but when it came to adding icons I got stuck. You can retreive the file association from the registry, and in the registry it also tells you where the program Icon is located and an integer number. But I don't know how to use this information.
Anyone help me please!
Extract DNA Sequencing File AB1
Hi, all
I have a problem need your help. My VB program will need input a DNA sequencing raw file with the external of ab1 as the data resources. how can I write code to display the figure and the sequencing text file?
Thank you.
Mica
How To Extract Image From A AVI File?
I have developed an application to play a AVI file. I wish to have a image (possibly .gif or .jpeg) generated for a particular AVI frame. How do I achieve this?
Thanks in Advance!
Extract An Image From File *.dll
hi anybody, can you explain how to extract an image(icon) in a *.dll file like shell32.dll
Edited by - Need Guru help on 6/24/2008 12:04:04 AM
Extract .MP3 From .SWF (flash) File
Hello,
I am trying to extract an mp3 sound file from a flash video or swf file. I have had no leads so far as to how i could do this. Let alone i have only found one free program that will do this,swfextracter.exe.
Any help would be appreciated.
Thanks, crazy.
Edited by - crazyoldman on 6/18/2007 6:53:35 AM
|