Converting Programs Created In C/c++ To .net?

Oct 28, 2011

I've recently got a job in the it department of a company and was told the project I am going to start working on. I'm going to start converting old programs to .net and was just curious how difficult that is? I've had no experience in c/c++ and would like to be able to start working on it without much hassle.

View 4 Replies


ADVERTISEMENT

Converting DLL's Created With Intermediate Language To Create Entry Points Within A DLL

Nov 16, 2009

In need of some desperate help. Has anyone had any experience with a software product called Pres? The programme provides a function (userhook) that can run externally created dll's as the programme offers no COM support. The basic requirements for the dll are as follow.

1, The dll requires a public function named UserInstruction

2, The UserInstruction must have 5 parameters. The first and second of type long, the third a double array and the fourth and fifth parameters required type is a string.

This all seems pretty simple. But as .NET doesnt support exporting functions within a DLL to allow direct public access to the function through third party software it becomes tricky. After doing some research it seems as though this isn't possible in .NET. The only way I can see to do this is to convert the dll to Intermediate Language and play around with it once this is converted and then convert the IL code back to a DLL. I found this on the following site [URL]..After trying this when I try to use the DLL via Pres I am still getting no joy.

View 1 Replies

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

Open Html Files In Internet Explorer That Is Created In Editor That Is Created?

Jul 26, 2011

I have an editor created invb.net that creates html files. And when i click the button run , the Internet Explorer opens my file that is inside the Richtextbox.

View 3 Replies

Converting File Into Bytes And Then Converting Those Files Back Into Its Original Form?

Aug 22, 2011

my goal is to

1.Take an file(exe,dll,etc)

2.Convert it into hex

3.place that hex values in a stack

4.Execute the values inside the stack to its original form(i.e. take the elements out of stack and then convert it to a compile format)

Imports System.IO
Sub Main()
Dim fileName As String = "ABC.exe"

[code]....

View 1 Replies

Perform An Action On Clicking A Custom Context Menu Created In Excel Using Excel Add-In Created With Visual Studio 2010?

Apr 14, 2012

I am creating an Excel Add-In using Visual Studio 2010. My intention was to add a context menu to a cell and perform some action on the selected cell or cells. Here is the code I have got as of now

[Code]...

View 2 Replies

Declaring A Object - Instance Of An Object To Be Created When A Form Loads Or Another Class Is Created

Oct 5, 2009

If you want a instance of an object to be created when a form loads or another class is created, you have two options:

Public class example

private IAmAObject As IAmAObject

public sub new()

[CODE]...

Or like this:

public class example

private IAmAObject as new IAmAObject

public sub new()

[CODE]...

I always use the first one. It's more type work but I think it's neater. How about you people and is there any real difference between the two?

View 4 Replies

Access Objects On A Dynamically Created UserControl An A Dynamically Created Tab Page?

Dec 5, 2011

I can usually find the answers to most of my questions via the Google Gods, but not this time.I have a form that has a TabPageControl and on that page a collection of labels and text boxes via a usercontrol.

On the form I have a button that allows the user to create a new tabpage, when the code adds a new page, it automatically adds the UserControl collection. I can't get my head around how to access the objects on the newly created tabpage.

What I need to be able todo is take the index of the tabpage that has focus and translate that against the UerContol name, but I havn't a clue how to do it!

[Code]...

View 4 Replies

AddHandler To Dynamically Created Buttons That References A Dynamically Created TextBox?

Dec 16, 2011

I am adding a grid of buttons to a form at run-time, and all of then use the same Handler.My question is : Is there any way I canadd the TextBox at run-time ?I know how to but without it on the form, the IDE isn't very happy about the "MyClick" Sub - TextBox1 is not declared......

' some logic here to make nice rows and Columns of buttons
' with different .Text and .Name
Me.Controls.Add(btn)

[code]....

View 4 Replies

Access A Dynamically Created Control On A Dynamically Created Form

Jul 16, 2009

I have an application that dynamically creates winforms.

Dim NewS As New Form
Dim NewT as new Timer
NewT.Interval = 5000

[Code].....

View 3 Replies

Access A Dynamically Created Control On A Dynamically Created F?

Jul 16, 2009

I have an application that dynamically creates winforms.

Dim NewS As New Form
Dim NewT as new Timer
NewT.Interval = 5000

[code]......

View 4 Replies

Programs For An OS

Aug 21, 2009

Im building a OS and i need ideas for programs to put in it.

View 3 Replies

3rd-party TCP / IP Programs?

Oct 8, 2009

I've spent the best part of the week learning about TCP/IP and sockets but it's really draining my enthusiasm for my project. The basics are simple enough and the MSDN examples are fine and I can put together a simple server/client easily now, but once I start getting into asynchronous connections, threading and all the other stuff, I'm getting bogged down and frustrated. I've followed a dozen tutorials and examples now and they're all too confusing and half of them simply don't work.

I think what's most frustrating is that I really don't wish to become an expert on sockets or TCP, which seems to be the advice on most forum replies. I really want to be getting on with my project which has ground to a halt since I started looking into this. Yes, I know the world isn't always that simple.

So, what I'm looking for is a 3rd party app or some working code that will let me set up a server and multiple clients. All I really want them to be able to do is to send strings to each other, without blocking the application. Really, that's it, just the ability to pass strings back and forth between server and client, preferably in as simple a format as possible - e.g SendMessage(Client,String).

View 10 Replies

Add Music To Programs?

Jun 4, 2011

I am relatively new to Visual Basic so this may seem like a simple question. I was wondering I anybody knew how to add music to a visual basic program. Just one want a song to start playing upon the loading

View 8 Replies

API Interacting With Other Programs?

Jul 10, 2010

I searched around the web for some tutorials and code examples, but couldn't find anything up to date. For example if i wanted to hit the "+" button on the windows calculator using an application i made what would be the best route to do so?

View 3 Replies

Developing .net Programs To Run On The GPU Instead Of The CPU

Jul 10, 2011

I am making a 2.5D rendering engine. I assume (with the knowledge that I've gotten from reading online) that doing the rendering work using the GPU will be faster than using the CPU.

Is this possible with .net? If so, is this a correct situation to utilize the GPU?

I'm also using VB.net, however all .net examples will apply.

View 2 Replies

Get All Programs Auto-run?

Jun 24, 2010

how to get all programms autorun in vb.net?

C:Program FilesQuickTimeqttask.exe
C:Program FilesESETESET NOD32 Antivirusegui.exe
...

View 4 Replies

Getting Information From Other Programs ?

Mar 3, 2010

I have a few questions regarding getting information from other programs.

For instance, once i launch a console application i want my other program to read it's output. If my build.exe reads whats printed in cmd.exe and then outputs it live on a textbox <--- How do i do that?/Is it possible? Im sure it is. And then i want to know how much % of CPU is used by the program and how much memory are used.

View 2 Replies

How To Link Programs

Aug 28, 2009

am new to programming just finishes reading book step by step by microsoft, it doesnt teach me how to link 2 programs together, at work we have program made by an outsider company in it spreadsheet with over 500,000+ names, each day we have to pick random names from the list and print them out to make files for them(i work at social security), picking the names is daunting task and the program they made is pretty slow when you scroll around, am assuming they saved all the number in string variables, so i want to make program to sort and let the user type the number they need to pick from the large spreadsheet, then my program would choose all those number from other program

View 1 Replies

How To Publish Programs

Oct 10, 2011

i have made some apps text bomber a couple games i am a pretty good programmer but now i want to put it online and i am running in to some problems its says it dose not have ever thing and can install or it is not formatted right it works on my pc but not on others pc. i am trying to put it on my web site rangercomputers.webs.com you can try.

View 3 Replies

How To Run Multiple Programs

Jan 12, 2012

I currently have one VB 2010 express program that runs on my machine,It tracks machine run-times so I can't shut it down. The problem is now I have a new project to write and when I go to debug it, the currently running program pops up and I cannot debug the new project. Is there something I am doing wrong, or does the VB express environment prevent more than one instance of the runtimes from running?

View 2 Replies

Jumping Around Programs?

Mar 24, 2010

There is a program I puchased from out side for Data Entry purpose, I have to enter Postal code to one field (Textbox), This program do not have the list of postal codes to select.I develop vb.net program to find postal code by giving the area name or part of it, I have to copy the generated postal code and paste it into the other programs text box or type as it is.I want to know a method to do this as follows.1.Press some key combination and activate my program (Eg. Ctrl+Alt+A)

View 1 Replies

Launching Programs From DVD?

Sep 24, 2010

I was wondering if someone could help. I have a little vb.net program, an exe, a pdf and a pps all burned on a DVD.My vb.net program will autorun and I have command buttons to open each of the other items from the DVD.I can open all items if I use the proper path but not all rom drives are the same. I have searched for this a lot and there are a lot of inguiries regarding the same but none of the solutions seem to work.I have a work around for D:\ and E:\ drives:

Try
Process.Start("D:\MyPresentation\BHW.pps")
Catch
Process.Start("E:\MyPresentation\BHW.pps")
End Try

I use this for each command button.I have tried Process.Start(Application.Startuppath & "\MyPresentation\BHW.pps") to no avail.

View 9 Replies

Link Two Programs With Each Other?

May 28, 2010

Is it possible to link two programs with each other. Like one that can control the other one. Because Ive got a cousin and he is living too far away. I created an application that should do his work on his computer, but the application needs to be controlled by someone,.. and he kinda cant do it. So I want to make a second application to control the application that is on his computer.

For example. If I click on button1. The application on his computer clicks on button1 too.

View 1 Replies

Run Programs From Exe Directory?

Apr 1, 2010

how i would run a program from my application that is in the same folder as my application. E.g C:\install.exe path would not work as each user would have to have this in there c:\ drive for it to run. Rather i want them to be able to click my exe from a network folder, which installs the programs which reside in the same folder.

Dim ExecutablePath As String
ExecutablePath = Path.Combine(Application.StartupPath, (c:\Install\Programs\setup.exe")

[Code].....

Basically i want to run my exe, once install is clicked the program finds the install directories in the same folder rather than C

View 3 Replies

Use A Propertygrid In Programs?

Apr 9, 2010

i'm hoping to use a propertygrid in one of my programs.

1/ i'm having difficulty writing a (text) property that will open a multiline editor like the textbox text property in the vb properties window. how would i do that?

2/ i need a way to make either selected properties or preferably entire categories disabled or enabled at runtime.

3/ how can i turn off automatic sorting so my categories + the items they contain are displayed in the order they are in my class?

Imports System.ComponentModel
Imports System.Drawing.Design
Imports System.Text.RegularExpressions

[code]....

View 23 Replies

Use Flash In Programs?

Aug 30, 2010

I am wondering how to use flash in my programs. I have both VB 2008 and 2010 express. Does any one have tips for how I should get started?

View 3 Replies

.NET Programs Don't Run At Logon Screen

Oct 3, 2011

I'm using Windows 7 Pro (32bit) and have .NET 3.5 and 4 installed.I have written a .NET screensaver and have enabled it to run on the Windows logon screen.[code]BUT when I'm logged in the screensaver works.So it isn't a faulty installation of the .NET framework, or else it wouldn't work fullstop.

View 1 Replies







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