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
D

Dan Suthar

@Dan Suthar
About
Posts
38
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Please fire the person in Microsoft that thought the charms thing is ok
    D Dan Suthar

    I agree to you word by word. What the hell has happened to UI design. Especially VS.

    The Lounge com design sysadmin windows-admin data-structures

  • Writing "apps" for Apple devices
    D Dan Suthar

    it indeed was helpful to me,too!

    The Lounge ios com question

  • Interesting Read - Obfuscation is Dead. Long live Obfuscation
    D Dan Suthar

    :sigh: this is how computers are designed ! And still IT industry earns a lot from softwares ! Perhaps laws make them buy legal one ! But i think msft should do something , even a little do make .NET exes safe from usual crackers ! :-\

    The Lounge csharp

  • I have no idea why I am genuinely saddened by this
    D Dan Suthar

    wana come to sunset point? :laugh: :laugh: :laugh:

    The Lounge oracle com game-dev question

  • Anyone still use the Classic appearance? [modified]
    D Dan Suthar

    Classic theme is the best performer.I use it on my xp machines and on seven its aero.No place for vista. :)

    The Lounge hardware question announcement

  • My vote of 1
    D Dan Suthar

    Paolo Messina wrote:

    Aren't you sick and tired of "my vote of 1" kind of posts that plague almost any new article here at CP?

    me too.

    The Lounge question

  • VB.NET Saving object properties
    D Dan Suthar

    You can use Application Settings to save properties of the objects like Textbox.Text or any other...

    Visual Basic csharp windows-admin algorithms tutorial

  • Console Application Help
    D Dan Suthar

    Ok, Now I am getting the matter.So only the cmd itself has the context menu ! Thankyou very much for sharing your knowledge :)

    .NET (Core and Framework) csharp help tutorial question

  • Console Application Help
    D Dan Suthar

    Let me explain my problem.I have made one exe of console programs namely a.exe.Now when I run the a.exe by double clicking on it ,it opens a usual console window and runs further in it.Now the window that just opened doesn't have the contex menu.You may have seen the one in the orignal cmd.exe.I am NOT refering to that when we right click on titlebar but the one when we click on the black area in cmd.

    Mika Wendelius wrote:

    neither does cmd, the menu comes from the window where cmd runs

    So is there a way to bring that in mine a.exe program so that when I right click ,it popus up.The menu generally useful because it contains comands like paste and find etc. :confused: And,

    Mika Wendelius wrote:

    You can use Process class to start another process

    So thanks for solving my second problem. :) Thanks, Dan

    .NET (Core and Framework) csharp help tutorial question

  • Console Application Help
    D Dan Suthar

    Hi everyone, I need help on two issue I faced during the making of my console program in .net(Any either C sharp or VB.NET). (1)1st is that the console program I made doesn't have the basic contex menu like the cmd has one and pops up when we right click on anywhere on the black area.I want the same or something similar to that one.How should I proceed? (2)2nd is when we launch a cmd program from cmd itself the program runs in the same window as of the cmd's own.Like if we run ping.exe then the cmd doesnt open a new window for it .Instead of that it simply runs the program in the same window.In my program I want to launch other console application(made by myself) but not in other window but the same of mine.How to do that? Any help in C# or VB will be helpful. Thanks in advance... Dan

    .NET (Core and Framework) csharp help tutorial question

  • Visual Style Back Color Property For Buttons
    D Dan Suthar

    Sorry but the same problem .I followed the same steps you wrote ! :doh:

    Visual Basic question help tutorial

  • Visual Style Back Color Property For Buttons
    D Dan Suthar

    Hi, I have one question related to the visualstylebackcolor property of buttons. When I put one button directly on the form and set that property to false , it works fine but when I put the same button in panel it show a button like its visualstylebackcolor property is true even if the property window is showing it false. :confused: How to solve this problem ? Thanks, Dan

    Visual Basic question help tutorial

  • Display String With Quotes
    D Dan Suthar

    Thanks for help .

    Visual Basic help question

  • Display String With Quotes
    D Dan Suthar

    Hi everyone, Here I have a strange problem. I am working on a console application. I use the following code to print : Welcome console.writeline("Welcome") Now I want to print: "Welcome" I want to print it with quotes. but , console.writeline(" "Welcome" ") gives me an error. So, what to do to print a word with quotes?? Thanks For any help, Dan

    Visual Basic help question

  • Help on Using Resources in VB.NET
    D Dan Suthar

    Hi everyone, In one of my project I have to work with embedded resources in VB.NET. I have 2 Problems: (1) In my project I have added a 5 MB movie file as a resource. Now I want to copy that one to localdisk "C:\sample.avi". I wrote the following code. But I don't know what to use in place of "x" where "x" is the path of the file to copy. Any suggestions? Code: Imports System.Io Button1_click() File.copy("x","C:\sample.avi") End sub So in short I want to know what is the path of that file? (2) How to do the same with more than one files. I want to copy them all (at least 6 files!) to localdisk. Can anyone suggest the code for it ? I will be helpful to me. Thanks, Dan

    Visual Basic question csharp hardware help

  • VB password help
    D Dan Suthar

    Hi, You can simply use the MaskedTextBox from the toolbox. Then set its password char to "*" . :) Thanks, Dan

    Visual Basic help

  • Winsock with SSL ?
    D Dan Suthar

    Hi, Thanks, That's a good idea. But I was looking for somthing that I can use the ssl stream class which is available in .NET 2.0 . Any suggestions?

    Visual Basic security tutorial question

  • Winsock with SSL ?
    D Dan Suthar

    Hi, I am using VB6 and in one of my project I want to use winsock control with SSL . I didn't find anything how to do it ? Is it possible to use ssl somthing like this : "Enablessl = true" ?? Any ideas will be helpful to me . :-> Thanks, Dan

    Visual Basic security tutorial question

  • Code Is Not Working .
    D Dan Suthar

    Scott Dorman wrote:

    First, please use the "pre" tags when posting large snippets of code. It helps keep the formatting and makes it much easier to read.

    Sorry , I was my mistake .:-> You suggested the perfect suggestion. Thanks. :)

    Visual Basic csharp com graphics sysadmin

  • Code Is Not Working .
    D Dan Suthar

    Hi, I got a downloader program form internet but it was made in C# . I converted it to VB.NET . There is no errors in the code , but it isn't working !:doh: Here is the few code form the whole project which is not working: Imports System.IO Imports System.Net Imports System.Text Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Data Imports System.Drawing Imports System.Windows.Forms Imports System.Threading Public Class Download Private thrDownload As Thread ' The stream of data retrieved from the web server Private strResponse As Stream ' The stream of data that we write to the harddrive Private strLocal As Stream ' The request to the web server for file information Private webRequest As HttpWebRequest ' The response from the web server containing information about the file Private webResponse As HttpWebResponse ' The progress of the download in percentage Private Shared PercentProgress As Integer ' The delegate which we will call from the thread to update the form Private Delegate Sub UpdateProgessCallback(ByVal BytesRead As Int64, ByVal TotalBytes As Int64) ' When to pause Private goPause As Boolean = False Private Sub Download(ByVal startPoint As Object) Try Dim startPointInt As Integer = Convert.ToInt32(startPoint) ' Create a request to the file we are downloading webRequest = DirectCast(Net.WebRequest.Create("http://dl.google.com/picasa/picasaweb-current-setup.exe"), HttpWebRequest) ' Set the starting point of the request webRequest.AddRange(startPointInt) ' Set default authentication for retrieving the file webRequest.Credentials = CredentialCache.DefaultCredentials ' Retrieve the response from the server webResponse = DirectCast(webRequest.GetResponse(), HttpWebResponse) ' Ask the server for the file size and store it Dim fileSize As Int64 = webResponse.ContentLength ' Open the URL for download strResponse = webResponse.GetResponseStream() ' Create a new file stream where we will be saving the data (local drive) If startPointInt = 0 Then strLocal = New FileStream("C:\", FileMode.Create, FileAccess.Write, FileShare.None) Else strLocal = New FileStream("C:\", FileMode.Append, FileAccess.Write, Fil

    Visual Basic csharp com graphics sysadmin
  • Login

  • Don't have an account? Register

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