Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

P P Vilsad

@P P Vilsad
About
Posts
28
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Best Linux?
    P P P Vilsad

    Suse Linux is always a good choice and its very much like windows with all the packages its providing. and the current version is also supports a good ground fot VM

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    The Lounge question linux html com tools

  • .net framework 2.0.50727
    P P P Vilsad

    so you are using a .net setup project for deploying a non .net project ? i didn't understand. don't you have a sing exe or dll created in .net 2.0 in your project ?

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp dotnet help workspace

  • .net framework 2.0.50727
    P P P Vilsad

    when you create setup project first open the project you need to create setup for. then from file add new project and then other project types and setup project. give the name setup and select add to current solution (you should not create a new solution). when setup project is loaded, on filesystem editor right click application folder and select add -> project output and select primary project output. this will detect dot net version and prerequisites automatically. now you won't have to select dot net manually

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp dotnet help workspace

  • .net framework 2.0.50727
    P P P Vilsad

    when you added your project output (the exe file from your program) visual studio will automatically add .net framework to your detected dependencies folder in solution explorer. make sure it detects correct.

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp dotnet help workspace

  • Win32 APIs
    P P P Vilsad

    Saying ShellExecute 0&,"Open",filepath,0&,0&,3 is what i want to execute. how can i do it with Process.Start ? can you show me an example? Thanks for your advice

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp linux json question

  • .net framework 2.0.50727
    P P P Vilsad

    after building the setup project make sure you have .net framework redistributable in a folder inside your setup's release folder. if it is there then you are doing right. when you double click setup it will say the following prerequisites are not installed in your computer and will install when you press ok. thats the right way.

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp dotnet help workspace

  • Win32 APIs
    P P P Vilsad

    Hi, How do i run win32 api in a vb.net program, i declared shell execute function and tried to call it from my form. but it says unmanaged call is trying to run from managed code and something about PInvoke too. please advice me

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp linux json question

  • .net framework 2.0.50727
    P P P Vilsad

    don't just add framework into your project, right click on setup project, select properties, click prerequisites and tick .net framework 2.0 and select install from the same location as my application option too. now build your project

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp dotnet help workspace

  • multiple file search
    P P P Vilsad

    you can't directly use the objects you created in your application inside the thread, you can do your multiple extension search without a thread too, but you will have to search one by one extensions,but this will consume some time

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic question

  • multiple file search
    P P P Vilsad

    Threading is a advanced topic to understand in a few minuts. i thing you should search in MSDN and a overall knowledge about threads and threads in vb.net first. then write your program, thread functions are not like ordinary functions, and when handling you should be more cautious because you may end up in thread locks. but threads are good practice if you want your program run in a faster way (by deviding the work load to multiple threads so you can get all the work done simultaniously)

    jds1207 wrote:

    Dim MyThread As New System.Threading.Thread(AddressOf GetDirectoryContents) MyThread.Start()

    there is no problem with your code, what is the error you are getting ?

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic question

  • deployment process in vb.net
    P P P Vilsad

    well, there are articles about customizing your setup program in codeproject itself, try to search for those articles.

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp help visual-studio sysadmin

  • multiple file search
    P P P Vilsad

    http://www.codeproject.com/vb/net/threadingvbnet.asp[^]

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic question

  • multiple file search
    P P P Vilsad

    let the users type multiple extensions to a textbox seperated by commas. create a thread to search a specific extension in your path and then run multiple instances of that thread with one extension in each thread. since you have the code convert the function you are using to a thread

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic question

  • Tray Icon
    P P P Vilsad

    write your code on form_resize event check for form.windowstate = FormWindowState.Minimized and write your code to hide your form and show systemtray icon

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic question

  • Database connection problem in vb.net
    P P P Vilsad

    what is exactly you are getting about autonamed and unc shares ? the error you are getting about the database name already exist is because it is already attached to sqlserver. if you have connected your database in server explorer, try to detach it and run this program error, i am not getting this error when i tried here. if this problem still exist after you detach db try after installing visual studio sp1

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp help database visual-studio

  • Database connection problem in vb.net
    P P P Vilsad

    just add msgbox(constring) in my previous code after constructing constring. and run the application. varify that the message you are getting is pointing to the exact location of your database

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp help database visual-studio

  • Database connection problem in vb.net
    P P P Vilsad

    try this dim constring as string = "Data Source=.\SQLEXPRESS;AttachDbFilename=" & application.startuppath & "\LIB.mdf;Integrated Security=True;User Instance=True" connect with this string Note : after exiting application you need to click on server explorer and right click lib.mdf database and click on close connection and copy lib.mdf and lib.log files from debug folder to back to lib folder. otherwise you will not get the changes and the file will be overwritten with the old one when you are running your application again

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp help database visual-studio

  • Database connection problem in vb.net
    P P P Vilsad

    change the path to Application.startuppath & "\databasename" and try

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp help database visual-studio

  • How to add remaining blank column at datagridview ?
    P P P Vilsad

    i think you can't add more columns to a binded datagridview, but why don't you set the width of last column to fill the empty space

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic question tutorial

  • search hard drive for files
    P P P Vilsad

    i didn't see any output from your search, just calling di.listfiles(type) but not adding it to anywhere! and you are searching only C drive, what if your computer have morethan one drive. try this initialise your search like this dim drv as driveinfo for each drv in my.computer.filesystem.drives() if drv.isready then searchfiles(drv.rootdirectory,type) end if next and create a searchfiles method with path and filetype as parameters private sub searchfiles(byval path as directoryinfo,byval filetype as string) try 'this will handle the error access denied 'list files dim fi as fileinfo for each fi in di.getfiles(filetype) Application.DoEvents() 'do something with the file here next 'now go through the directories and get files from subdirectories dim sdi as directoryinfo for each sdi in di.getDirectories() Application.DoEvents() searchfiles(sdi,filetype) next catch exception as ex end catch end sub this will get you through all the directories in a computer. hope this works for you

    Vilsad P P MCTS (Windows Applications) .Net 2.0

    Visual Basic csharp help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups