VS 2008 'randomise' The Share Values?

Jul 24, 2009

how can I 'randomise' the share values? (I am wanting to have some shares to have a higher risk than others, usually the ones with the higher value.)

View 3 Replies


ADVERTISEMENT

Randomise Images No Repeats

Jan 7, 2012

I am a complete newbie at vb trying to design a quiz where the user will be presented randomised images to grade. I am at the stage of writing code to randomise image without repeating. Images are stored in imagelist (not sure if this is the best way to 100 images - I've read a few posts about limitations of imagelist) and are being randomly presented in picturebox. At the moment my code loops around continuously with repeats. However I would like it to present images randomly without repeating. Here's the randomise snippet of my code. Hellllppp! it loops round and I'm not sure about to remove images.

[Code]...

View 14 Replies

Randomise Images In A Picturebox With No Repeats

Jan 6, 2012

I am trying to design a quiz where the user will be presented randomised images to grade. I am at the stage of writing code to randomise image without repeating.

Images are stored in imagelist (not sure if this is the best way to 100 images) and are being randomly presented in picturebox. At the moment my code loops around

continuously with repeats. However I would like it to present images
randomly without repeating. Here's the randomise snippet of my code.[code...]

View 13 Replies

VS 2008 Share Strings With Class?

Oct 22, 2009

Alright i have 3 strings in a class1.vb. In form1 it will put in a text. In form2 it will read the 3 strings and print them on 3 textbox

View 1 Replies

Visual Basic 2008 Share A Folder

Jan 12, 2011

I have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control?

View 4 Replies

Visual Basic 2008 Share A Folder?

Jan 12, 2011

I have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control?

View 4 Replies

VS 2008 - How To Edit Share Permissions (not NTFS)

Jul 8, 2009

I need to build an app that can create a network share and give it full read/write permissions to everyone.
I have this code to create/delete network shares: [Code] But it only changes the NTFS permissions, not the share permissions. I'm running Windows 7 RC (64-bit) using Visual Basic 2008 Express. Does anyone have any ideas on how to change the share permissions, not ntfs?

View 1 Replies

VS 2008 - TCP File Share (Sending String)

Feb 7, 2012

I didn't saw much samples about tcp file share. They look similar to what I am using to send string. My question is : Does these codes work with any kind of files? And May I have some hints about how to do it?

View 1 Replies

VS 2008 Creating A User And Share Permissions?

Mar 25, 2010

I'm creating an application that works with another I have no control over. My application needs to be able to create a user and change share permissions. Currently I am able to make a share, but I can't figure out how to set access permissions for that share.

The idea is that the newly created user (w/ password) will have permissions on the share I create.

View 1 Replies

VS 2008 Copy File To Network Share With Username/pass Passed In The Code

Aug 4, 2010

I've been looking at accessing shared folders, read and write, via the network without being prompted by the OS for the username and password.

On this forum, and googling, I can find many things about accessing network shares, but none using code which also passes the username and password required.

What I'm basically looking for is to not have to map a drive on the users computer. Then using code, write or read files from a network share and at the same time pass the username / password required for that network share.

View 11 Replies

Inserting New DWord Values And Chnages Values Using 2008?

Apr 13, 2010

Am New To This Fourm So Forgive Me If I Have Put This In The Worng Place I HAve Been Programming For 3 Years And Need A Project I Am Doing.I Am Using Visual Basic 2008 Express EditionOutlineI Want To Be Able To Add A Dword Value To A Exsisting Location and add a value to that Dword Value

Example: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList and then Add a new Dword Value that is not there such as Administrator

[code].....

View 1 Replies

VS 2008 - Creating A Tycoon Game / Make The Player Either A 'job Offer' Or 'share Offer'?

Jul 24, 2009

I am creating a tycoon game where you start at the bottom and go up the business ladder. At the end of the year, the player can either, stay with him current job, get another job or go it alone. I would like to know how I can make the player either a 'job offer' or 'share offer' when they own their own business.

View 4 Replies

VS 2008 - Share Files From A Computer To A Computer That Are Connected In?

Dec 21, 2009

How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..

View 1 Replies

How To Only Share In Facebook

Feb 27, 2012

simple way to share, only share, in facebook? I see alot of libraries but they come with alot of code and without documentation.

View 2 Replies

How To Share Application In LAN

Dec 14, 2009

How to start vb.net application from a shared file in LAN I mean that the application is installed in my PC but I want other users to get access to this application using my shared file.

View 8 Replies

Share Folders Over Net?

Jun 6, 2011

i am working on a app. and i need to know how can i share floders that the app will use to save flies over the net. i was thinking about crearting a data base that would save all the files on to it , and then share the data base with fellow co workers, but i do not know how to add a excel file or word doc. in the database. i am pretty new to all of this so any help would be great. the app is writen in visual studio 2010.

basical it will let the user access the file he needs to compelte his work off shore. the files are created and saved as he needs them. once he is finished, i need the app to send the floder to some type of server ( dont have a server yet) so that the office and other co workers can see the files when they run the app.

View 1 Replies

UNC Share Names / How To Get Them

Jun 11, 2009

I've looked in System.IO. but I can't find anywhere to get the unc share name of a path/drive.Anyone know how to get the unc share name of a folder, i.e. 'O:MyFolder'.

View 4 Replies

Way To Share A Folder

Feb 17, 2009

I have to do an application that share a folder and his sub folder.

This application have to run on Vista computer.

What's the best way for share a folder ?

View 1 Replies

2 Form Share Same Progress Bar?

Jun 21, 2010

can I have 2 form share the same progress bar? If so how does this work?

View 3 Replies

App.Config On A Network Share?

Apr 26, 2011

Visual Studio 2008 / Windows 7 / .net framework 3.5 / Windows forms application

My applicaiton has the following App.Config:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>

[Code]....

View 1 Replies

Asp.net - Create And Share Bus Booking API?

Apr 16, 2011

I have created a Bus Booking Website [URL]. I want to share the bus booking form with other sites so that they use our services.How can do I this using vb.net?

View 2 Replies

Connect To A Network Share?

Feb 12, 2011

How can I connect to a network share without using System.Diagnostics.Process.Start?

I need to connect to a network share and get feedback if it already exists.

Can I use some kind of API?

View 1 Replies

Executing Application On A Share?

Apr 23, 2010

My problem relates to executing an application located on a network share and getting various security exceptions in trying to do so. By far the greatest number of replies to this sort of problem relate to creating a new Code Group under Runtime Security Policy in the .NET Framework (v2 in this case) Configuration tool. However try as I might, and I've spent hours, trying various things with the config tool (and with caspol), I just cannot get my app to work.Still fails on things like reading command-line parameters and displaying a web page in a WebBrowser control or firing up a browser using Process.Start. In fact I've regressed to creating a VB6 version for this particular task as time is off the essence. Which works fine! As I mentioned lots of people have posted on this topic and not s few of them seem not to have resolved their issues either. So I was wondering if anyway had come up with a definitive solution for this problem which, in my case, seems to affect XP machines only? Seems to work OK on Vista, 7, 2003 Server, etc - although I haven't run exhaustive tests in these environments.

View 1 Replies

Got A New Server, With A New Sever Share Name?

Oct 22, 2009

My company got a new server, with a new sever share name, etc. I also moved my project from 'My Documents' to the C: Drive. I went through all my code and replaced the old path info to the new path. Tried to publish and received errors stating my temporary key was no longer valid. I googled that error and tried a solution. I created a test certificate and the app published as expected.

View 2 Replies

How To Publish / Share A Program

Nov 4, 2011

Now I have finished my another really small program. I have tryed to publish in several ways but with now result. So how can I publish it easily? I will share it so I'd like to have just one "setup" file which creates the another necessary files. (or just one bigger file?) but the main thing is that I dont want to start share 4-5 files...

I get it worked on my computer, that's not a problem. But then I upploaded all of the files (4-5) to mediafire, destroyed program from my computer and downloaded those files: Program didnt worked: Sayd just "U havent downloaded all necessary files" (something like that).

Well I think it's possible also to publish to new wep site. In fact I tryed to make wep site (with www.nettisivu.org ) (finnish quite good wep-page-creater) but the same result: no results at all. If this is the easier way, how I could upload my program straight to that site? In that "wep-page-creator" the final site looks that: xxxxx.nettisivu.org and editing page looks: xxxxx.nettisivu.org/wp-admin/page.php?action=edit..... (xxxxx=my name for site)

View 2 Replies

How To Share Class Properties

Apr 17, 2010

I have an app with my own class "something".So, Im going to one of the my modules and declare public var as a class. After fillup this class by date, I would to get this date from the other module of my app. But there this var is unavailavle (its mean I have to redeclare it again. Its mean I'll lost

View 7 Replies

How To Share DataSet Among Two Forms

Jan 13, 2009

I'm new to VB2008 and SQL Server. I have two forms (frmCustomer and frmDetail). The frmCustomer has a datagridview containing general data of customers, and a button to open frmDetail, which contains each customers detail information. All data modification is done on frmDetail (add, delete, and edit). Currently, both forms are binded to the dataset (same table). When the two forms are loaded, each form performs a FILL function that retrieves the data from SQL Server. In addition, all modifications done on frmDetail does not show up on frmCustomer until I perform the FILL function again on both forms. Seems like I'm maintaining 2 sets of data from the same table, and I think I'm doing more work than I have to. I'm sure there are ways to make this easier, such as bind both forms to a single dataset, so I don't have to do everything twice.

View 1 Replies

How To Share Variables Between Forms

Feb 17, 2012

Is it possible to share subscripted variables and their data between forms? So far I can't see the variables I made public in one form, in a second form.

View 5 Replies

IDE :: Checking For Network Share In VB

Apr 30, 2009

I'm writing a console app to take care of our automated user creation process which was previously done by a batch file. I need to check if a users network share exist on any of 38 servers but seem to be having trouble finding info on how to do it. From what i can tell i need to use the netapi32.dll and the NetShareCheck function, but i'm not sure how to do it.

this is what i have so far, but it isn't working as it should. it seems to be returning 2311 in almost all cases exept if i use uppercase on the server and device and the device starts with C.

Imports System.Runtime.InteropServices
Public Class NetApiWin32
Declare Unicode Function NetShareCheck Lib "netapi32.dll"

[Code].....

View 1 Replies

IDE :: Connect To Network Share

Oct 5, 2010

my old vb6 "WNetAddConnection2 Lib "mpr.dll" no longer work in vb.net 2010. at run time i get "PinvokeStackImbalance was detected".How can connect to network share ?

View 2 Replies







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