Apply A Security Template To Stand Alone XP Workstation Using VBS?

Aug 26, 2009

Apply a security template to stand alone XP workstation using VBS?

View 4 Replies


ADVERTISEMENT

Apply A Generic Template To Chart Series

May 17, 2011

Apply a generic template to chart series.[code]Note that the bars are unstyled while the chart seems to style just fine.The documentation regarding built-in .NET charting is woefully thin.Can anyone help me get my generic templates to work?

View 1 Replies

Dll For .Net To Com Works On Dev Workstation But Not On Remote Workstation?

Jan 20, 2012

I created a simple dll in VB2008 on my development workstation (uses a GUID and Implements an Interface,It is a basic "Hello World" & someInputValue. I reference this dll in a MS Access code module and works fine on dev machine. I run Debug.Print testDll.HelloWorld("xyz") and I get I then copy the mdb and dll, tlb files to the remote workstation (where I am also running all versions of the .Net framework) and try this on the remote workstation -- Everything compiles fine within the Access code module on the remote workstation, but I get an error message that the ActiveX control cannot be created when I try to run the procedure. I tried to register the dll regsvr32.exe "C:myDirmyTestDll.dll"and get the message that the dll is loaded but the DllRegisterServer entry point was not found. This file cannot be registered. I know that I have tested other custom dlls on this remote workstation before, and everything worked fine.

View 4 Replies

VS 2008 : Create Template At Runtime And Save It The Template With Name?

Aug 20, 2011

In VB.NET,I want to create template at runtime and save it the template with name. for ex : Administrator design a page with 5 fields like using firstname, lastname, dob,nationality and job. He want to assign this page to the user with some restriction like user1 need to enter the all the fields and save it the forms as user1profile, but user2 need to enter only firstname and lastname and save it as user2profile.(in features, he can remove the fields from the form).

View 1 Replies

C# - Using Types In A T4 Template That Exist In The Same Project As The Template?

Aug 4, 2010

I'm working on my first T4 code generation tool to add some Stored Procedure helper code to my project. I've created custom types (e.g. StoredProcedure and StoredProcedureParameter to help with my code generation and have included the assembly and namespace references in my code:

<#@ template debug="false" hostspecific="false" language="VB" #>
<#@ output extension=".generated.vb" #>
<#@ assembly name="$(TargetPath)" #>
<#@ import namespace="StoredProcCodeGenerator" #>

This allows me to use my custom types in my T4 template code. However, because my custom types exist in the same project as the T4 template code, I can't recompile my project once I run the template code without restarting Visual Studio. This isn't very much fun.

I read a great article that addresses this exact issue by using the T4 Toolbox, but it's not working. Either I'm implementing the VolatileAssembly directive wrong or the T4 toolbox simply didn't get installed. I'm not sure that the toolbox got installed correctly (I'm using VS 2010 on Win XP).

View 3 Replies

ActiveX DLL Not Working On Different Workstation

Mar 30, 2010

I have created a VB ActiveX Control. I embed the DLL using the following semantics. It appears to be working fine in my local machine. However, it does not in other's workstation. But I was not able to generate the LPK file using the LPK_tool.exe since the ActiveX control did not show up in the list.

<object id="printUtil" name="printUtil" classid="CLSID:440616e0-8d63-47b8-b16d-4fd281dc652b" >
</object>

View 1 Replies

Code To Lock Workstation?

Feb 23, 2012

I'm working on a small program to activate winlogon,and to automatically log out of my account, but I'm unsure how to implement this in code.

View 2 Replies

Local Administrator On A Workstation To Run VB6?

Sep 22, 2010

I would like to know if it is necessary to be Local Administrator on a Workstation to run VB6 I mean, just run VB6, write code and compile it.I do not mean to register DLLs, write in registry, etc.My question is just asked at the VB6 application level.

View 8 Replies

Check Which User Last Logged In To Workstation?

Jan 18, 2012

I need to create a spreadsheet of which kit is assigned to which person, within the company.

We have desktops & laptops, for the purpose of this post, we'll say desktops are named DESKTOP then a random 3 digit number (DESKTOP001, DESKTOP002 etc.) and laptops are named LAPTOP then a random 3 digit number (LAPTOP001, LAPTOP002 etc.)

I'm presuming the best way of checking which user uses each workstation would be to check who last logged in to it. doing this for ALL computers in a certain OU (lets say DESKTOP_OU for desktops and LAPTOP_OU for laptops in this example) (either with VB Script or PowerShell I would presume) and to export it to Excel.

View 1 Replies

Creating Executable File That Can Be Used On Any Other Workstation?

Dec 16, 2009

i need some help in creating vb.net executable file that can be used on any other workstation

View 1 Replies

VS 2008 Locking A Remote Workstation?

Sep 30, 2009

how can i lock a remote workstation?

View 1 Replies

System.Security.SecurityException: System.Security.Permissions.SecurityPermission?

Jul 27, 2010

I am getting the following error message when I try to call this program from a shared drive on our network;

System.Security.SecurityException: System.Security.Permissions.SecurityPermission
at EMAILVB.EmialVB.EmailVB_Load(Object sender, EventArgs e)

[code]....

View 5 Replies

How To Know If MS Chart Controls Installed On Client Workstation

Oct 14, 2011

I developed a ClickOnce application using MS Chart Controls. It works fine for the charting part. But, as Chart Control needs to be installed beforehand (with admin rights and not with classic ClickOnce deployment), I need to detect if the component is available on the machine. So I tried to create a new Chart and to handle the possible Exception but it seems it is not possible to catch it (too low level Exception?) :

Try
Dim oChart as New Chart
Catch
' Some user-friendly message to ask the user to contact the helpdesk
End Try

This code is never executed: I get a unhandled Exception as soon as I enter the event this code is in. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

***** Exception Text ******* System.IO.FileNotFoundException: Could not load file or assembly
'System.Windows.Forms.DataVisualization, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35'
or one of its dependencies. The system cannot find the file specified. File name:
'System.Windows.Forms.DataVisualization, Version=3.5.0.0,
[Code] .....

View 1 Replies

VS 2008 : Install A Class Library On A Workstation

Apr 17, 2009

Is there anyway to install a class library on a workstation so any application can call it without it being bundled with that app?

View 6 Replies

What Does The 'e' Stand For

May 19, 2009

While bored I started extracting all the methods and functions in my program and moving them to a module...just trying to practice the encapsulation I've been hearing so much about. While trying to move my print functions it raised a couple questions. The issue was the 'e' in e.marginbounds and e.Graphics not being recognized. I caught 'e not declared' errors as if the system was just interpreting it as some kind of new variable. I tried moving the 'e' to several places just to experiment and the only place it seems that the intellisense would pop up with anything worth displaying was in the printDocument_printPage event itself.

what the 'e' stands for in these functions anyhow? Is it similar to the 'Me' in a Me.Close() being that it's just meant to address what's immediately at hand? Is there a way around this localization of the printing code, maybe an import of something that would make the 'e' accessible again. Such as the 'Imports System.IO' for the streamreader and writer functions.

View 7 Replies

.net - Automation Scripting Tool Boston Workstation Alternatives

Dec 14, 2011

I been using Boston workstation for a project but the version i have is about 8 years old and it only works with terminal not GUI apps. what alternatives are out there for automation scripting Gui apps in visual studio.

View 2 Replies

C# - Deploy SMO Application To Workstation Without SQL Server 2008 Installed?

Jun 15, 2010

I am trying to deploy an application that uses SMO on a workstation without SQL Server installed on it. The instance the app is connecting to is SQL Server 2008. The application is failing with:Could not load file or assembly 'Microsoft.SqlServer.Replication, Version 10.0.0.0, Culture=neutral,PublicKeyToken=89845cdc8080cc91' or one of its dependencies. An attempt was made to load a program with an incorrect format.

The assembly in question is in the same path as my application as well as system32. I am running this on a Windows 7 64 bit box. I have run SQL Native Client, CLR, and SMO MSIs from the 2008 SMO redist download page.This app worked fine when connecting to SQL Server 2005.

View 1 Replies

Copy Image Files From VM SQL Server To Folder On Workstation?

Jun 5, 2011

A user scans a series of documents which are sent through a program that places a .tif or .pdf of each document into a folder on a remote VM Server and sends the image location to a VM instance of SQL Server(along with other OCR extracted data).

It is my job to create a program that will:

1. Allow another user to see the filenames on a form, chose which files need to be processed (either by typing them into two textboxes {ie. start and end filenames} or by clicking on a start and end filename on the form {from a databound SQL container maybe?}.

2. The program then must show the images in a picture box as it is copying them to the destination folder.

3. Then the software must somehow be able to regonize which documents were processed, and not include them in new searches.

[code]...

View 3 Replies

Create A VBA Script That Can Be Used To Input A List Of Workstation Names?

Feb 5, 2009

I need to create a VBA script that can be used to input a list of workstation names and display the memberOf, Home Server and OU for that workstation?

View 9 Replies

Enumerating List Of Drives On A Remote Domain Workstation

Jun 29, 2011

I am trying to come up with a good way to enumerate hard disks on remote workstations, possibly including administrative shares, so I can audit key files on them without having to access them via sneakernet.I have domain administrator rights. Security policy prohibits using WMI which would be a great solution.I can retrieve a list of computers using Active Directory, but I need some way to determine what drives are available on each system. Is such a thing feasible? A fellow developer offered some VB6 code from years ago that used WNetOpenEnum, but I was hoping that since we are at .NET framework 4, maybe there's a more elegant / managed way of working with this. I'm keen to use technologies that are more generally supported, such as standard APIs etc. WMI is a great solution but apparently is blocked by default by Windows Firewall, so its availability is not guaranteed.

View 2 Replies

Networking - Getting A Path To Public Documents On Server In .net App When Run From A Workstation?

Jun 2, 2011

In our VB.Net application, we need to get the path to our data folder in Public Documents. In our standalone application this is straighforward using the SHGetFolderPath function. However, for our network application, we run into a problem when we load the application on a Win 7 server and run it from a Win XP workstation. From the workstations, SHGetFolderPath returns the workstation's public documents folder instead of the what we want, which is the server's public documents path.Is there any way within the application to query the public documents path on the server?

View 1 Replies

VS 2008 32-bit UserControl In HTML Page Does Not Load On 64-bit Workstation

Sep 21, 2011

I built a specialized userControl using VB2008 (on XP 32-bit) to embed in HTML (not ASP!) and compiled it, pointing to x86 CPUs. I added the necessary keys to the registry (see attachment) to declare a classId in a HTML 'object' tag. This scheme works OK on all 32-bit OS I could put my hands on, but fails to load on 64-bit: I could test only on XP and Win 2003. No error message and Fiddler does not even know something happened... I installed VS2008 on the XP 64-bit machine and ported the code to a fresh userControl (to check the code). I got the userControl running on this workstation without any trouble. I copied this new DLL on another workstation and added the necessary keys to the register, but to no avail. I checked the registry and the 'Wow64' keys are there allright. As a check (and to provide you with a 'working' example), I:

- built a very simple userControl on the 32-bit environment (label, textbox and button to display the text in a mMessage box),
- on the 32-bit workstation:
+ copied the file to a 'program files' folder,

[Code].....

View 1 Replies

'owner' Of The Name Of The Stand Alone PC?

Feb 20, 2012

Currently use word automation to mail merge some documents and print etc. A stand alone PC manage this, which means that when the document gets sent to the print queue it always has an 'owner' of the name of the stand alone PC.

View 3 Replies

Change It Over Into A Stand Alone App?

Mar 11, 2011

I have a 'project' that I'm currently using in excel. I would like to change it over into a stand alone app. I however am not a coder and have taken very limited coding classes. I know HTML, CSS, VB and some VB.net. My question is will it be easier to convert it to a web app or simply a desktop app? Why would one work better than another?

Here's some constraints.Not every intended user will have excel (thus my want/need to convert to stand alone). The data involved will come from 3 seperate databases/locations and will require archiving once a year. The data would be 'wrote' to the app upon opening - SQL queries.

The app would simply manipulate this data and provide reports. Nothing fancy except access to certain reports would be limited based on username. The 'interface' needs to look pretty. <Not my constraint but the PTB>.

They do not want/need a report generator <already tried to get them to go for crystal reports>, no funds available and users do not want to have to learn how to write good queries. <Yes, I have tried to get them to understand but they like what I currently have in excel>

View 1 Replies

How To Stand By Computer

Jan 18, 2010

how to stand by and wake up computer, i found this code but it does not work for me

View 6 Replies

What Does E In E.Cancel Stand For

May 4, 2009

I have been working/coding with e.Cancel, e.EventArgs, etc without knowing what the "e" stands for. Can I have a simple explanation of what e means and possibly similar concepts in VB.Only performance counts!

View 3 Replies

Code For Stand Along Color App?

Dec 4, 2010

I am looking for a tut or code to make a stand alone app for a color palette for vb10

View 1 Replies

Convert VBA App To Stand Alone Application

Jun 23, 2011

I have the following code that i need to convert from a MS Office- Visual Basic App into a stand-alone application. I have debugged most of it to run in visual studio 2008, however it has a problem with the message box stuff. If i cant have a message box with the information in it then I want to put the output in a label but im not sure how to convert it to display in a label. [Code]

View 9 Replies

Converting Stand Alone EXE File?

May 5, 2009

i have wrote small program in VS 2005 , i used the back end Access 2003 now i have been trying to convert as Stand alone file. when i install created installation file it indicate the error which is

"""
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

[code]....

View 1 Replies

Deployment :: How To Use Stand Alone System In MAC

Dec 2, 2009

As i understand. mac pc dun support exe files. If i have complied my system as exe how to allow it to run in MAC?? or is there any other format that i could convert to so that i can run my program in MAC?

View 2 Replies







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