Zip A Folder Without Any External Dll Nor Any External References?

Feb 3, 2012

I wanted to know if it is possible to Zip a folder without any external dll nor any external references - just with native features.I've been able to Zip files with System.IO.Packaging, but it does not include folders and I cannot tell it to Zip the parent folder.I know there are external dll and so, but I'd like to know if it's possible to make it from a native way.

View 1 Replies


ADVERTISEMENT

BreakPoint All References To External Function?

Nov 8, 2010

I have a function in an external library, for which I do not have the source code, which is causing problems. If I were putting in a breakpoint in my own code, I would put it on the first line of the function, but as it is an external function, I do not have that option. Is there any way to as Visual Studio to break any time the function is called? My current workaround is to do a "Find All References" and put an individual breakpoint on every single call to the function, which is a sucky way of doing things.

View 1 Replies

.Net 3.5 - Run An External App In A Thread?

Jul 7, 2011

Is it possible to run a ( external program/process ) in a thread of your vb application?

so you don't see the process in taskmgr?

View 12 Replies

Executing An External App?

Oct 1, 2010

im working in a windows app that execute another apps.. writing the name of the app in a text box (i.e firefox.exe) and click enter to run it im using >> (System.Diagnostics.Process.Start(app_name.Text)) to run apps it works fine with me .. but it didnt with some apps like when I write for example ares.exe it says:Win32Exciption was unhandled :The system cannot find the file specified

View 1 Replies

Getting PEB For External Process

Jun 9, 2010

There are tons of examples of how to access the process environment block (PEB) from C++ code but I'm wanting to do it from VB.NET and am seriously struggling.I call NtQueryInformationProcess and get a Process_Basic_Information structure back from that which has a member named PebBaseAddress and this holds a pointer to the PEB (I have verified that this member does hold a valid pointer at runtime). The problem is that when I try to read data from the address that this pointer references I just get nothing. One important thing to mention is that it works fine if I try to use it on my own process, its just when I try and read the PEB for an external process that it gives me no data. I've enabled the SeDebugPrivilege (and confirmed it is enabled for my process in Process Explorer) but this made no difference. I've also tested it on Windows XP x86 as I'm currently testing on Windows 7 x64 but XP had the exact same issue, only sometimes the XP one would just crash completely with a memory access violation and thats the other thing, I am getting fairly inconsistent results - even on the Windows 7 machine sometimes I end up with no data but other times I get memory access violation errors, and other times I get the data for my process even when I have passed in the handle of a different process..

View 2 Replies

How To Get External IP Address

Apr 1, 2012

I want to develop a function that will return the external [public] IP from my router.
Not the Internal [local] IP, something like 192.168.1.X.
But something like this 216.XXX.XXX.XXX

View 3 Replies

IE With External Application?

Oct 3, 2009

I have a quick, yet simple (i think?) question. How can i use the address bar to send commands to a external application?

Example:

AOL Instant Messenger I havent used this application in a long time. But i remembered if you wanted to add a friend to AIM from their online profile it directed them to a link such as:

aim:addfriend=contactID and AIM would pick this up and add it the contactID to the application. The link i posted is more than likely not the correct link they use but it shows what im trying to accomplish.

Im looking to achieve something along the lines of: myApplication:command=commandValue

View 3 Replies

Run An External Dll File/

Nov 27, 2009

I have a dll file which is reading a in.txt file and write a out.txt file. No need pass any variables to dll. Dll file runs alone.

I could not add this dll as referance. What I nned to do to just run this dll?

View 11 Replies

Run An External EXE File?

Dec 17, 2011

I'm creating an installer program. As part of the install process, I need to run/install the "AccessRuntime.exe" file.

How do I run this external EXE file from within my installer program?

View 6 Replies

Running An External .exe

Aug 16, 2010

i am creating a visual basic program, which acts as a very simple GUI for another program. I have built the whole Visual Basic project, but i am unable to do one part, the most important part you could say.I have a button(button1) on a form, when the button is clicked, i want it to run a program, named 'mover.exe' which is located in the SAME FOLDER that my visual basic program will run from. The directory of this folder will change. So, there are two problems..i have:

1 - to make the program run the .exe program when button1 is clicked (it also must be run with administrative privelages).

2 - to make the program always look for 'mover.exe' in the folder in which it is started from.

View 7 Replies

Use External Functions With XSL?

Oct 28, 2009

I have a visual basic file with a number of functions I want to use inside my XSL. I can build it as a dll and reference in my XSL project but I don't know how to reference it in my XSL file. I am using visual studio.[code]...

View 1 Replies

VS 2008 : VB Won't Run External .exe

Jul 23, 2009

I've been working on a program and the final step in it is to run an external exe. This particular exe is a video game exe. What happens is the code will run fine, the game starts up, and right when the screen blinks to go into the game, the game stops stops. I don't even get to the logos in the beginning.

This game in particular is Star Wars Battlefront II, and I'm trying to run the main game file (BattlefrontII.exe). I've tried TONS of ways to try and get this work.

System Diagnostics, MyProcess.StartInto blahblah.....

View 5 Replies

VS 2008 Getting External IP?

Mar 30, 2010

I just want button1 to make label1 the external IP when you click it.I found this:[URL]..and it is just your ip when you go to it.I don't know how to make this work and I have looked around a bit.

Dim wc As New Net.WebClient
Dim html As String = wc.DownloadString("http://whatismyip.com/automation/n09230945.asp")
Label1.Text = html

View 6 Replies

Waiting For External EXE To End Before Doing More

Apr 23, 2011

I keep trying different things I find on the net, but I can't get VB.net express to wait for exit. Hopefully someone can point me in the right direction here. Here is my code and all of this works but there is no way to tell when mugen stops.

[Code]....

View 6 Replies

Launch An External Program?

May 3, 2009

So I have my form, I add one combobox (combobox1) and a button that says "Launch..."Button 1's

Process.Start(ComboBox1.SelectedItem)

When you select a program from the combobox (combobox1) and click launch, it launches that program, for example, cmd.exe (command prompt) when I click the button, it launches the command prompt, but if I select a game (for example chess.exe, for vista), it says it can't find the file, this is because the search for the file is only: WindowsSystem32, how can I change that? OR, how can I add a reference that searches the WHOLE Disk, not just WindowsSystem32?

View 6 Replies

.Net 3.5 - Maximize A External Minimize App?

Jul 25, 2011

How do you maximize a external minimized application that is already running?

iMatthiWare
MatthiWare N°1 .NET Freeware & Shareware site! Title: Project leader, Owner @ MatthiWare Current project: MW Virtual Desktop Contact: Admin@matthiware.net.ms Website: MatthiWare " MatthiWare... What else?!? "

View 3 Replies

Access External DLL In VB2010?

Jul 22, 2011

I have a DLL that I made in FORTRAN to do some number crunching. It works in VB6 and in VBA within Excel. But I cannot get it to work in VB2008 or VB2010. If I try to access it the subroutines in the DLL I get either, 1) Structure of DLL invalid error or 2) Cannot find the DLL error.

Here is my VB2010 code for a smaller demo app that came with the FORTRAN development system. Again, this works with VB6 and VBA but not with VB.net

vb.net
Imports System
Imports System.Runtime.InteropServices
Public Class Form1

[code]....

View 3 Replies

Access Public Sub From External Dll?

May 20, 2010

I'm attempting to call an external public sub from another dll. I've added the dll as a reference and in VS Express 2010 it shows in my intellisense, however, it errors "Non-shared member requires object reference.[code]...

View 1 Replies

Add External Dependencies .lib File?

Mar 11, 2012

how to add External dependencies .lib file in vb.net

View 2 Replies

Any Way To Unzip File Without External DLL?

Oct 4, 2009

Is it possible to unzip a file without having to use an external (not .NET default) resource?

View 1 Replies

Are There Any External Components Available That Are Downloadable

Sep 12, 2011

Are there any external components available for vb.net 8 that are downloadable ? if yes please suggest me some sites to download ?

View 7 Replies

Assign External Value In Variables?

Jul 11, 2009

i remember that in Qbasic i could assign values to variables from a text file. (not in the code inside.). How to make the same in VB.NET?

View 5 Replies

C# - Is A HTTP Module As Non-external Dll Possible In ASP.NET

Oct 20, 2010

Normally, when you create a HTTP module, you create it as separate dll project and register that dll in the web.config.Now, is it possible to write a HTTP module directly in an ASP.NET project, so I don't have to create a separate dll project?Note: Don't say as an added project in the same solution, I mean in the same project.Or would just adding a reference to this dll suffice ?

View 1 Replies

Calling An External Function?

Oct 9, 2009

wondering if there was anyway I could call a function of an external program. Ie.My App:Call Reset()External App:Reset()My.Settings.Rese

View 4 Replies

Calling An External Program?

Feb 27, 2010

im having trouble getting my program to call an external application. the only thing is that im trying to get the path from a setting

my.settings.e1p

so far i've tried this

System.Diagnostics.Process.Start(My.Settings.e1p)

View 5 Replies

Calling External DLL Function?

Mar 21, 2012

In my application I'm trying to invoke a function from an external DLL (this DLL is compiled in C++)I have this code to declare the DLL function:

Code:
<DllImport("{DLLPATH}", CharSet:=CharSet.Auto, SetLastError:=True)> _
Public Shared Function functionName(<MarshalAs(UnmanagedType.VBByRefStr)> ByRef Name1 As

[code]....

View 2 Replies

Center An External Application Using .net?

Mar 23, 2012

how to center an external app on the screen, an example would be Adobe Reader, using either Process.Start or Shell. I've 'attempted' both but haven't found anything to control the position. I've also found some code using Api32 functions, FindWindow, MoveWindow, etc, but have not been successful at those either.

View 3 Replies

Controlling An External Application

Aug 15, 2009

I am currently working on making a macro in visual basic that will control an external application. I need to know how I can click the menu options in this program. Here is the code I have so far, which makes the application window active.[code]

View 3 Replies

Copy From An External Application?

Mar 17, 2009

I have looked all over for an answer to this question and have failed to find one. I have two applications. App1: I have no control over anything in this application aside from standard user inteface options. (Enter text, apply, ok) Someone else has created this program and I have no direct access to the database or any code. I can not make any changes to this application.App2: This is the application that I am currently creating. All changes will need to be made here.I currently have a program set up to copy information from App2 to App1. A user clicks a button in App2 and then goes to App1 and hits F8. App2 is waiting to get F8 and when it does it proceeds to use a series of sendkeys to enter the information from App2 into App1.Question 1: Is there a better way to get info from App2 into App1?I am trying to "smarten" my program up a bit. I would like it to read fields from App1 and compare them to certain variables and then do an action. I have tried to use sendkeys to copy from App1. This sometimes works, and other times the clipboard says object not collected it is not a valid format. So this method is obviously not reliable enough for me.Question 2: How do I copy data from a text box in App1? Sendkeys seems to not work. Again, keep in mind that I don't know textbox names in App1 so as far as I know, I can't do anything like textbox1.copy.

View 2 Replies

Data Types From External Dll

Feb 25, 2010

I use Philip's MfRc500.dll for communicating with RFID chips. It contains a function for reading data, which is defined like this:[code]The second parameter in function Mf500PiccRead can returns "16 byte data block", so my long data type is too small. If I use byte() instead of long, then i get ExecutionEngineException Exception.

View 3 Replies







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