VS 2008 'randomise' The Share Values?
Jul 24, 2009how 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 Replieshow 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 RepliesI 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]...
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...]
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 RepliesI 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 RepliesI 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 RepliesI 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?
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 RepliesI'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.
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.
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].....
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 RepliesHow 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 Repliessimple way to share, only share, in facebook? I see alot of libraries but they come with alot of code and without documentation.
View 2 RepliesHow 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 Repliesi 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.
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 RepliesI 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 ?
can I have 2 form share the same progress bar? If so how does this work?
View 3 RepliesVisual 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]....
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 RepliesHow 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?
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 RepliesMy 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 RepliesNow 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)
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 RepliesI'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 RepliesIs 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 RepliesI'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].....
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