Blocking A Particular Machine From Accessing A Machine On LAN?

Jan 21, 2008

I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....

View 9 Replies


ADVERTISEMENT

Cannot Access The Database From Server Machine To Client Machine Using .net 3.5?

Dec 9, 2010

I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.

View 6 Replies

Accessing Printers And Faxes Folder On A Network Machine In Asp.net

Oct 8, 2009

From my vb.net code I am trying to set a printer name for the crystal reports printing

rpt.PrintOptions.PrinterName="johnKingHP LaserJet 2200 Series PCL"

But when I go to windows-->Start--> Run and enter JohnKing

It is showing me Printers and Faxes folder and Scheduled task folder. But when I open Printers and Faxes it will show the adderess as Printers and Faxes on JohnKing.

From my web application I want to sent the Printer name is the name shown above.

View 1 Replies

.Net Software Behaves Differently From Machine To Machine?

Dec 21, 2010

I've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads

View 2 Replies

Get Time On Another Machine?

Feb 20, 2009

i must get time on another machine and put it inside my windows application with vb.nethow can I

View 9 Replies

How To Use A COM Dll On A WIndows 7 64 Bit Machine

May 1, 2012

I have built a DLL for changing the default printer to a new value and then setting it back to the original. This DLL will be called from a VBA addon to an ERP product. I think the version of the VBA is 6.3.

I have built a Visual Basic 2008 Dll using a COM component. This generates a DLL and TLB file. Using Regasm.exe from the .net frameworkv2.0.50727 folder to successfully register these components on Windows XP and Window 7 32 bit.

However, when I try to do this on a Windows 7 64 bit system, it fails. After some fiddling around, I was able to get a successful registration using the Regasm.exe in framework64v2.0.50727. But after the successful registration, the VBA project still cannot use the DLL.

When I try to Reference the .tlb file in the VBA project, it is not visible even though the dialog filter is set to dll, tlb.If I try to use late binding by using the getobject and/or createObject method, it fails.

There are two ways to answer this request.1. How do I register my 32 bit COM dll on a Windows 7 64 bit machine?

2. How do I write a COM DLL component from scratch for a WIndows 7 64 bit machine using Visual Basic 2008 ( or 2010. I will upgrade if necessary)?

View 5 Replies

How To Use VB DLL Across All Users On Machine

Jul 17, 2009

How do I register a vb program dll for all the users of a machine? I have admin rights and have tried to register the dll using regsvr32 . Its get registered and is functioning only for my user id. If some one without admin rights come and login then it is not working.

View 1 Replies

Run 32 Bit Java Dll On 64 Bit Machine?

Mar 11, 2010

I have a 32-bit java dll which i need to call from a asp.net application on a 64-bit machine.

View 1 Replies

Will App Compiled On 64 Bit Run On 32 Bit Machine

Nov 20, 2010

I'm buying a new computer this week and the one I want has Windows 7 Home Edition 64 bit. I program in VB.NET using VS2008. If I write a program and compile on this 64 bit windows, will it run in 32 bit? I did some reading and from what I understand is if it is not using any specific 64 bit drivers I should be good. I'm not doing anything fancy that I know of as far as drivers. I just wanted to see what everyone's past experience has been.

View 3 Replies

.net - Get MAC Address Of Client Machine In C#?

Jan 7, 2010

How to get MAC address of client machine in c# and vb.net

View 3 Replies

.net - Using VB DLL In TWO Windows Project At The Same Machine?

Apr 4, 2011

I Have old vb windows application, we develop new .Net Application that uses the old VB DLL functions, for testing purposes I have to install the two application in one client machine,

BUT The Problem: When I install the new .Net and register the DLL , it works fine,,

-- But the old VB application Stops...

If i register the DLL again and run the VB application , it works fine...

-- But the new .Net Application not works,,

After Registering the DLL, the first Application I run works fine , the other NOT

View 1 Replies

2010 Deployment To 32 Bit Machine

Jul 20, 2011

If I develop a VB2010 Windows Forms application on a 64 bit machine, can I deploy it to a 32 bit machine?The 32 bit machine has .NET Framework 4 Extended on it.Or can I tell the 64 bit compiler to go 32 bit? I have VS Pro on the 64 bit machine.I don't want to leave any development package on the 32 bit machine, which will be transferred to a client.jeyoung

View 5 Replies

Add Cookies To The User's Machine?

Jan 17, 2011

I know HOW to use cookies, but how to do so in a Windows Forms Application? What reference would I need to add in order to add cookies to the user's machine?

View 1 Replies

API, Kernel32 On 64bit Machine?

Nov 7, 2010

coming from VB6 I've been using the windows API for many years. Now I'd lke to do the same on .NetMy question is, what would happen if I build for 'AnyCPU' and the application calls Kernel32 while running on a 64bit machine ?

View 1 Replies

Application Will Not Run On Same Machine It Was Written On

May 18, 2010

I have written a program and it seems to work fine when i am running it in the environment.When I create a program to distrubute to another computer it will not run.I thought it might be a problem with the other computer but I tried to install it on the same computer I designed it on and it will not run there either.When I run it a message box pops up saying "Application cannot be started. Contact to application vendor."[code]

View 5 Replies

Availability - Check If A Machine Is Available

Aug 8, 2009

USing c#, how can I check if a machine is available (i.e. switched on or exists) on the network?

View 2 Replies

Can Only Run Application On Build Machine

Jun 5, 2010

I've compiled my application and started testing it on other machines.

It crashes instantly on every machine except the build machine - I'm fairly new to programing so any pointers as to where I would start would be great.

If I install VS2008 on the test machines it runs fine...

I'm using VS2008 on Windows 7 (x64)

Application is set to compile x86

An entry is made in the event log:

EventType clr20r3, P1 5xhruzlemrj2jn2wizvzp1qaljyuxwtl, P2 1.0.0.0, P3 4c0abff3,
P4 ssmc program,

P5 1.0.0.0, P6 4c0abff3, P7 12, P8 e9, P9 system.invalidoperationexception, P10 NIL.

[URL]

View 3 Replies

Can't Seem To Copy 3 X CR9 Dll's To VSE Machine To Get Rid Of Errors

Sep 18, 2010

I'm converting an existing VB6 command line app to VB.net as need a bug or 2 fixed. It uses 3 x Crystal Reports 9 libraries. The only errors I have now are related to CR9 (dll) code, but don't have CR9 on the VSE machine, & dont have VSE on the CR9 machine. We also have a CR11 version of this. The fellow who created them has left & we dont have VB6, he used his own.I can't seem to copy the 3 x CR9 dll's to the VSE machine to get rid of the errors, says the dll access is denied, source file may be in use.I can't install VSE on the CR9 machine so have to create/build it on the VSE machine & copy exe to the CR9 machine. [code]

View 4 Replies

Capture When A Machine Is Idle?

Jan 21, 2009

Is it possible to capture when a machine is idle? I realize that a machine is never really idle, but screen savers work and power management schemes work... So, there must be a way to create an application to capture the same thing, correct?

Has any tried this or has any success capturing when a machine is idling?

View 6 Replies

Closing Machine After Program Has Run

Feb 3, 2010

is there "rules" as to how to close programs writting in vb.net(2008)? I've migrated to dot net from vb6 and have rewritten some of my programs in the new language, but I've discovered a problem, since using the new programs if you try and close the machine down (Windows XP) the pc just hangs until I use the task manager and kill my programs.

View 1 Replies

Compiling To Machine Code?

Apr 23, 2011

After reading a couple of tutorials, it seems that basically NET works quite like java. All the IDE's produce an intermediate code that I have to distribute, and which NET compiles at runtime to machine code and then executes it. Leaving aside the question why so when NET works only on Windows platforms, I have some other more practical questions:Is it possible to directly compile to machine code targeted at specific platform like XP 32-bit or Win7 64-bit?

View 2 Replies

Deployment Fails On XP Machine?

Apr 7, 2012

I have just finished my application using VB in Visual Studio 2005 and it works fine on my Win 7 development machine. But when I install and run it on an XP machine it fails with an unhandled exception:System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E8D851FA-9967-4ADF-9644-0183B9B1EA68} failed due to the following error: 80040154.

I've googled the error message and the solutions seem to be 1) compile as x86 (was doing that anyway), and 2) register the dll on the machine But firstly I'm not sure which dll I need to register, and secondly I don't want to be going around registering dlls - the whole point of the installation programs is that it should just install and configure everything automatically..

View 10 Replies

Exception When Running App In New Machine

Aug 25, 2009

I just finished coding a small app which access the Outlook 2007 Inbox. On my dev machine, it works OK. I created a new machine in VMWare using WinXP, Dot.Net 3.5 and Office 2007 installed and Outlook configured to my GMail account.I copied the BIN folder of my project to the new machine and ran the app and it runs OK until it scans all emails in the Inbox. This is where I get the exception:[code]When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.Can anyone suggest why my code can not see the Outlook 12 assembly? Do I have to create an installer file for my app before copying it to the test machine?

View 1 Replies

Finding Each User On XP Machine

Jan 10, 2011

Is there a method in the .NET framework for finding each user on a machine? I want to copy a shortcut to each users desktop, but first I need a list of each user on the particular machine.

View 3 Replies

Get Physical Memory On A Machine?

Jun 7, 2011

I'm trying to pull the total physical memory on a machine and have it show just like it would inside My Computer Properties.

I know I can use My.Computer.Info.TotalPhysicalMemory which will return it in bytes. This is where I'm getting stuck. I want to be able to divide it and then truncate it to where it would show like My Computer Properties would report it.

View 6 Replies

Get The List Of All Sql Servers On Machine

Apr 12, 2012

how can i get the list of all sql servers on my machine i am trying this code i have vs 2010 and sqlexpress 2008 r2 i put breakpoints seems everything working fine but its not getting any server i don't know whats wrong with it here is the code on button click this suppose to work to get all servers and list them in the combobox cmbServer [Code]

View 5 Replies

Getting Service Tag From Dell Machine Using .net?

Oct 8, 2009

I've got a class that pulls model information (hardware info) for a local machine code is like so:[code]

View 4 Replies

How Many Unique Hardware Id's Can Get From A Machine

Jul 13, 2010

how many unique hardware id's we can get from a machine? i found out about CPU_ID but the code which i found on google has a very different method used.

View 5 Replies

IDE :: VB6 For Drink Can Recycling Machine?

Jul 1, 2009

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri;

[code]....

View 1 Replies

Installing New Fonts On Machine Using .NET?

Jul 12, 2011

I have a Windows Form and I need to Install some fonts from a remote Folder to the Client which ran the application.

View 4 Replies







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