I agree to you word by word. What the hell has happened to UI design. Especially VS.
Dan Suthar
Posts
-
Please fire the person in Microsoft that thought the charms thing is ok -
Writing "apps" for Apple devicesit indeed was helpful to me,too!
-
Interesting Read - Obfuscation is Dead. Long live Obfuscation: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 ! :-\
-
I have no idea why I am genuinely saddened by thiswana come to sunset point? :laugh: :laugh: :laugh:
-
Anyone still use the Classic appearance? [modified]Classic theme is the best performer.I use it on my xp machines and on seven its aero.No place for vista. :)
-
My vote of 1Paolo 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.
-
VB.NET Saving object propertiesYou can use Application Settings to save properties of the objects like Textbox.Text or any other...
-
Console Application HelpOk, Now I am getting the matter.So only the cmd itself has the context menu ! Thankyou very much for sharing your knowledge :)
-
Console Application HelpLet 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
-
Console Application HelpHi 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
-
Visual Style Back Color Property For ButtonsSorry but the same problem .I followed the same steps you wrote ! :doh:
-
Visual Style Back Color Property For ButtonsHi, 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
-
Display String With QuotesThanks for help .
-
Display String With QuotesHi 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 -
Help on Using Resources in VB.NETHi 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 -
VB password helpHi, You can simply use the MaskedTextBox from the toolbox. Then set its password char to "*" . :) Thanks, Dan
-
Winsock with SSL ?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?
-
Winsock with SSL ?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
-
Code Is Not Working .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. :)
-
Code Is Not Working .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