Software Development Network Logo
  • .NET Development
  • Smart Device
  • VS Express Editions
  • Visual C++
  • Windows Live
  • Visual FoxPro
  • Game Technologies
  • Architecture
  • SQL Server
  • Windows Vista
  • VS Team System
  • Visual Studio
  • Visual Basic
  • Visual J#
  • Microsoft ISV

Software Development Network >> Ken Villines's Q&A profile

Ken Villines

Member List

Amit Patankar
Boris Drajer
SAJU JOHN
Windsocks
J Arputha Ravi
rustiehatchet
Arun Narayan
MausOnMars
MartijnB
Thomas Tomiczek
CRJ
igorbaIT
pkul
TMTNJ
Wayne_Peterson
Mussye TM
Henrysoftware
joyfred
invalid display name 3
Martin Trappel
Only Title

Ken Villines's Q&A profile

  • Visual Basic Is System.Text.ASCIIEncoding has been change in VS2005 ?

    Hi, I used this simple encryption in my VS2003 project: Private Function EncryptPassword( ByVal UserPassword As String ) As String     Dim oASCIIEncoder As New System.Text.ASCIIEncoding     Dim ArrEncryptedPassword() As Byte = EncryptString(UserPassword)     Return oASCIIEncoder.GetString(ArrEncryptedPassword) End Function Public Function EncryptString( ByVal InputString As String ) As Byte ()     Dim ArrEncryptedPassword() As Byte     Dim oShaEncryptor As New SHA1Managed   & ...Show All

  • Visual Studio Express Editions disappearing trick

    wen i installed visbas on my computer it went thru all the normal steps like any installation process but i can't find the program on my machine. i tried it 2 more times and it says it's already installed but it's not anywhere to be found. any suggestions Hi there, I presume you are talking about Visual Basic Express Edition Do you have a location on your machine like: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE as that's generally where the actual file gets put. Also, you could always do a Search through all your local hard drives to find the appropriate file. It's name is " vbexpress.exe ...Show All

  • .NET Development OleDb database

    Hi, there is a way to retrieve the counter field value of an MS Access database after inserted a record A general insert query like this: Insert Into SAMPLETABLE(Code, Description) VALUES('aaa', 'description aaa') After execute it, I need to known the value of the counter field. In SQL Server is: SELECT @@IDENTITY In MS Access Thanks There is one thing you have to take care of here. You need to take the value of the counter that the specific insert statement used, not any other one that another user might have invoked. Isolated transaction my be required if your db is accessed by many users, or you might end up relating your child re ...Show All

  • Visual Basic for each loop to controls

    Hi every one, there are many textboxes in a form, I want to clear all the text in them, but it seems that there are something wrong in my code: for each mytextbox as Textbox in Controls mytextbox.clear() next VB shows that Controls should not be used like this, but how can i do it thank you very much, you are very helpful. enjoy a good day:) ...Show All

  • Visual Studio Plugging into VS help is not happening automatically

    I'm using an *.msi file to install a help (MS Help 2.0) project that is supposed to plug-in as a child to MS.VSCC.2003. It installs the files and there are no errors, but it does not plug-in to the VS help. If I open the Collection Manager (ms-help://MS.VSCC.2003/VSCCCommon/cm/CollectionManager.htm), it is listed as it should be, but the checkbox is not enabled. If I check it and press the Update VSCC button, my collection does get correctly plugged in (after a wait of about 2 minutes when I next launch VS) and it works fine. I *think* that the fact that I'm able to see my collection in the Collection Manager, and the fact that the Collectio ...Show All

  • Windows Forms How to do indeterminate progress bar?

    Sometimes you know when a task begins, and when it ends, but you don't know the increments. In such situations you want to display an "indeterminate" progress bar, which basically means the progress bar doesn't fill from left to right, instead a few segments move from left to right and starts over from left, and this repeats. How do you do such a "never ending" progress bar I have seen it in Microsoft applications, but I don't see a property on the progressbar class to turn this mode on. i need help i want to know how to add the progress bar on my web browser i have built, i added the progress bar, i have ...Show All

  • Visual Studio SUPPRESS DUPLICATE NAMES

    I have a Crystal report with 700,000 records. I grouped this by fields "PROCESS"  and "OPERATION". Under the Grouped Operation field there are many duplicate numbers such as 10 or 20. I want to suppress the duplicate numbers and only show each distinct number once for each Grouped Process & Operation. Example: Process     Operation LEFC710     10 LEFC710     10 Process     Operation LEFC730     10 LEFC730     10 LEFC730     20 LEFC730     20 LEFC730     ...Show All

  • SQL Server Web forms and report parameters

    Hi all- I am having trouble with my understanding of how web form input fields affect report and subreport parameters. My assumption is that when you invoke a Reporting Services remote report from the POST action of a form, any input fields declared in your form must also be declared as report parameters in your target report. Is that true Must all subreports in that target report also have report params corresponding to the form input field names (For instance, my Submit button is form input field...) Do form input field values override the report parameters which share the same name Must I declare a default value for these corresponding ...Show All

  • Visual Basic How Can I Access Other Open Application Windows?

    I am trying to write a program that interacts with another third party application window. They do not expose an API that I can use, so I have to hack my way through it. The sad thing is I have actually done this in the past (I had to process a large number of cases, so I wrote a routine that pulled case numbers from an open excel window, and then closed them out in this third party application). I just can't remember how I accessed and discovered the other open application windows! What I am really trying to accomplish is to be able to verify the appropriate application window is open, dock my application to the side of it, and read ...Show All

  • Visual Basic Adding a ComnboBox to a propertygrid

    Hi Folks I have a custom class bound to a Propertygrid in a vs2005 form. One string Property has a limited list of strings allowed to enter. I know that I can use an enumeration to cause the propertygrid to show the allowed values in a combobox. But my problem is that the strings allowed come from an xml-file and I want to add them at runtime in the new() method of my custom class. My Question: is there a chance of showing a combobox to the user in a propertygrid, that is shows and is limited to the strings loaded in the new() method. Thanks for your help Jan Hi I found the answer myself in this great artic ...Show All

  • Windows Forms VB.Net Newbie Design Layout Question

        I'm new to VB.Net so please bear with me.      I have a desktop form that takes one 800X600 screen. Half of the form is a an active checklist of steps that the computer has validated. The other half of the form is a group of controls for the user to input data for those calculations.        At  ...Show All

  • Windows Forms Create a taskbar applet like Media Player 9

    Hello, I want to do a small app that will run on the taskbar, just like Windows Media Player 9, or the address bar. It can be in C/C++ with Win32 or MFC, or in MC++/C#/VB.NET. My app will consist of a simple text box which I use very often. For now I'm using an overlay texture and low level keyboard reading; this is a very dirty method, and doesn't work very good. I searched a lot but didn't found any answer, and there are some questions about this in this forum but they are never answered. Can anyone help me please, or give me some advice Thanks in advance, Brunni This is a feature of the shell: http://msdn.microsoft.com/lib ...Show All

  • .NET Development ssl hell

    I've made a self signed certificate and private key to use for ssl If I go by browser : no problem. When I want to do add webreference I get following exception: (it opens the page in the left window and in the right window the exception: The document at the url https://deftje/services/service.asmx was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'https://deftje/services/service.asmx' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'. - Report from 'DISCO Document' is 'There was an error downloadi ...Show All

  • SQL Server Moving SSIS packages from one machine to the other

    I have developed some packages in my desktop, which works fine. I tried to move the project from my desktop to laptop by just copying the whole project folder. When I open the package within the project, it used to validate each package and used to hang for a longtime (Due to connection string etc). As Jamie suggested DelayValidation = TRUE sorted that problem out, which means the package opens now without hanging. I still have problems with the migrated package. It lost the layout of my package. Also it lost the link between components. In other words I have got components scattered around without any green / red / blue lines betw ...Show All

  • Visual Studio Team System Project Delete Problem

    I am trying to delete project using deleteteamproject.exe utility with /force switch. Project disappears from Team Projects list in IDE, but then attempt to create project with the same name fails.  Log states: "Project ABC already exists on server ts" . After some investigation I found out that project data was removed from BisDB, but still exists in BisDWDB database. I guess it is some kind of synchronization problem. Any help will be greatly appreciated! In beta 2, reusing the names of deleted team projects will cause problems.  For beta 2, you must always enter a name that has not been used on that server. Buc ...Show All

©2008 Software Development Network