Program Dump It's Own Source Code?

Jul 16, 2009

I know it sounds an odd request, but in order for others to gain access to an executable's VB.Net source code long after I have left the project I wanted to add something that could output the source code to notepad. This would be triggered by calling the exe with a numbner of parameters passed, like a pass phrase.I know how to pass the parameters and can call a proc based on what is passed, but I don't know if it's possible within that proc to dump the entire program's source code to notepad.

View 3 Replies


ADVERTISEMENT

VS 2005 : Dump A Small Html Code In A Variable?

Jul 12, 2010

how can i dump a small html code in a variable? do i need to take array ?i need to write below line to a file "as is"

$a = "<style>"
$a = $a + "BODY{background-color:skyblue;}"
$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
$a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"

[code]....

how can i make VB turn off recognition of it's operative characters like $,<,>,= etc. which appears on above code but i need to dump it "as it is" in a file during runtime.

View 12 Replies

Lost My Source Code But Still Have Program

Jun 22, 2010

I had a hard drive crash and lost all my source code for my poker clock program, but still have the program. Are there any programs I can use to reverse engineer my program so I can get the code back?

View 1 Replies

Open Source Code For Any Program?

Jun 23, 2010

I have a friend who sent me a program that he made using visual basic. The program has a web browser inside it and it works just like any internet browser. The problem I have a bad feeling that has a hidden web browser inside the program which it sends my keystrokes through php mail. I don't want to accuse my friend without showen a prove

View 8 Replies

Tell Whether A Source Code Is Written In Program?

Mar 30, 2011

I have never used Visual Basic before.

I have some source code for a project to look at. How can I tell whether the code has been written in VB or VB.Net?

View 4 Replies

VS 2008 Automatic Dump File For Program Crash?

Jun 1, 2011

I have a VB.NET 2008 program that crashes about once a month at a customer location. My log file does not include any clues of the crash, the program just dies with the infamous SEND / DONT SEND window.So I need to setup my customers so that in the event of a program crash, a DUMP file is created automatically, without any user intervention. Everything I read on internet indicates that the drwtsn32.exe program does that.

View 3 Replies

Make A Program Update It's Own Source Code?

Mar 27, 2012

I was wondering if it was possible to make a program edit itself and save kind of like memory however unlike memory it can add content as well as save it.

I know it seems crazy but, i was wondering

View 2 Replies

Source Code For Adding Your Program To Startup?

Feb 9, 2009

What is the source code for Adding Your program to Starup? for VB2008

View 18 Replies

Convert Program Source Code To Its Class Library?

Sep 25, 2009

I have a program that belongs to vb windows form application and i want to make the program in vb class library[code]...

View 3 Replies

Installation - Downloaded A Program Source Code Written In VB6 - Could Not Open The Files

Aug 3, 2011

I have VB 2008 Express installed in my PC. I downloaded a program source code written in VB6 but could not open the files. What do I need to do to get this codes displayed.

View 4 Replies

Go Into A Page Source Code And Extract A Link From The Source Code?

Dec 12, 2009

I want my form to navaigate into a link then open up the source code of that page it navigated to . Then get a link from the source code then display it on a textbox .Here's an example : i want this link in a source code :

http%3A%2F%2Fanime-omnibus.ning.com%2Fvideo%2Fvideo%2FshowPlayerConfig%3Fid%3D3382149%253AVideo%253A160429%26ck%3D-

This link is located just beside :

config=

That is:

config=http%3A%2F%2Fanime-omnibus.ning.com%2Fvideo%2Fvideo%2FshowPlayerConfig%3Fid%3D3382149%253AVideo%253A160429%26ck%3D-

How can i make my form to navigate into the source code and get the link beside config word . I know it is possible to do it , just don't know the function to do it .

View 15 Replies

VS 2010 Make A Program Which Access The Internet And Takes The Source Code From The Webpage

Mar 6, 2011

I've been trying to make a program which access the internet and takes the source code from the webpage. I've copied this code from the internet:

[Code]...

View 2 Replies

Convert A VB4 Source Code To VB10 Source Code?

Jun 5, 2012

How do I convert a VB4 source code to VB10 source code?

View 3 Replies

C# - Add A Reference To Some Source Code To Include In A Source File In .net, Winforms?

Jan 26, 2010

I don't know what this is called so I've struggled to find an answer from google but I have a vague memory of it from t'old days.I've sub-classed (* see below) about 8 framework controls, overriden some properties and added some functionality into each one.The changes I have made are identical in every case. If I make a change, I have to go through each class and apply the same change there.I was hoping there may be a keyword such as <IncludeSourcefile "common.vb> that I can put into each class.

(* note) I use the term sub-classed but I don't know if that's the correct terminology. I've also seen it used for call-backs. Is sub-classed the correct term to use?

View 6 Replies

Spacing HTML Source - Way To Space Out The Source Code Of A Web Page

Jan 6, 2011

Way to space out the source code of a web page, having each tag on one line, without having to search for each tag ending and then making a new line after.

My code for obtaining the source code is:

CODE:

Also if anyone knows a way to colour the tags.

View 1 Replies

Gtalk Source Code - Software Development Dream.In.Code?

Aug 4, 2010

i am searching for gtalk open source code if anybody knows please let me know I need it urgently

View 1 Replies

Source Code With The DirectInput Code ?

Jul 14, 2010

A source code with the DirectInput code and yes i have been googling it and couldn't find one for vbnet yah that would be great to have it just Namespace blah blah function blah blah and this is how u use Directinput("0") or sumthn like that

View 10 Replies

Dump All Memory Allocations?

Sep 17, 2009

I've been using some memory profilers to try and track down a memory leak - but am swamped with posibilities.

Am wondering if anyone has a function to dump all memory allocations that are present as a form closes/disposes.

View 1 Replies

VS 2008 - How To Dump An Object

Jan 12, 2012

I am trying to view all the properties of this:

Dim IISOBJ = GetObject("IIS://LocalHost/W3SVC/1")

For the life of me I can't figure out how to display all the property names of this object.

View 5 Replies

Way To Thread A Windows AD Dump To Sql Db?

Nov 8, 2010

This current project involves dumping parts of WinAD objects into a db to search from.I am trying to make this go a bit faster. there could be 10s of thousands of records to create.So i figured threads would do the job.I have tried straight of creating new threads for each db insert. that does not work for long, after 1700 threads it crashes.

t = New Thread(DirectCast(Sub() MySQLLib.group(dmn1, grpn1, grpd1), ThreadStart))
t.Start()

[code].....

View 2 Replies

Get Source Code From A 6.0 Dll?

Mar 16, 2009

i have previously build DLL file (VB 6.0) with me. Is there any possibility to get the source code from VB 6.0 DLL? I know that we can get code from a .NET assembly using Lutz royers .Net Reflector, but i have VB 6.0 DLL.

View 3 Replies

Get Source Code From Dll?

Aug 8, 2003

Is it possible to get source code from dll ? It's a vb.net web application.

View 6 Replies

Source Code From The .exe?

Mar 24, 2011

I have a .exe which was created in VB.net about 4 years ago. Due to some upgrades the .exe doesn't work as it used to.I no longer have the source code and really need to get this program to work. Problem is my knowledge with coding is VERY basic. I was wondering if there was a way to extract the code from the source code from the .exe. I've done some googleing and from what i've gathered it's impossible to get the original source code. Is this true?

View 2 Replies

C# - Dump StackTrace For Each Thread Running

Feb 1, 2011

Is there a way in .NET (VB.NET or C#), when an exception happens, to dump the stacktrace of each thread? Basically I would like to reproduce what happens in Visual Studio's Debug->Threads window to see what each thread was doing when the exception happened

View 2 Replies

Create Dump Files Of Database?

Jan 20, 2012

I use this code to create dump files of my database.Now what I want, if possible, is to encrypt it so that when it is viewed in notepad or anything similar, average users cannot read it.

Code
Call isDirectoryExist()
Call createDbBackupName()
Dim myProcess As Process = New Process
Dim strUser As String = "superadmin"

[Code]...

View 3 Replies

Searching A Dump / Finding The Address It Is At In Hex

Jun 1, 2011

How to search a dump.bin for a pattern then take the point it is at, i.e. 8DB358 and search that string? urls...

View 2 Replies

Take A Snapshot Of A Portion Of The Map And Dump It To A Bitmap?

Feb 4, 2009

I have a third party GIS tool that I'm using to view maps with. Occasionally we have to take a snapshot of a portion of the map and dump it to a bitmap. The third party tool has a function that will give me the upper left and lower right coordinates of the area selected on the map. These coordinates come out as system.drawing.point objects.

The two point objects are then used to generate a new system.drawing.size object that will give the height and width of the area selected. The height and width values are passed to the constructor for the system.drawing.bitmap.All this works fine most of the time. Sometimes, however, when the user selects a particularly large area, the bitmap constructor bombs with a 'parameter is not valid' error. There isn't any documentation on this error, but I'm assuming it means the height and width are too big.

So what I'm wondering is... is there some way to check my height and width values prior to creating the bitmap and make sure they are in acceptable bounds?

View 5 Replies

Change The Source Code From A .sln To A .c Or .cpp

Sep 16, 2010

I completed my first college assignment using visual basic 2005 express (Their first lesson was same)

and in order to submit it to my my proffessor I have to change the source code from a .sln to a .c or .cpp,how do I do this?

View 5 Replies

Find Your Source Code?

Feb 5, 2012

I've been working on my A2 Computing project for the past few months - and was working on one form.My computer crashed (for some unknown reason) and subsequently the form no longer works.

I can open up the designer for it, and see all the declarations - but I can't open the source code.[code]...

View 7 Replies

Get Modified Source Code?

Dec 7, 2009

Does anyone know how to retrieve the html source code of the webbrowser control after it has been modified.Specifically what I've been doing is this[code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved