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

Software Development Network >> kbpatki's Q&A profile

kbpatki

Member List

Gang Xiao
Jonathan Brown
HoundOfHell
DaveBrown1975
Ferentix
grade
Mathieu_N
Vitali Greenberg
goishin
Knud
sacredspirita
teapeng
Thiago Leite
Scoper
Diego Canepa
Cameron Slade
Danny Tuppeny
Mickagmi
Angelo_f
Matthias123
Only Title

kbpatki's Q&A profile

  • Visual J# How can I encrypt a String to put it into a Database?

    How can I encrypt a String to put it into a Database I've tried with: public static String encrypt( String textoplano) throws IllegalStateException { MessageDigest md = null ; try { md = MessageDigest .getInstance( "SHA" ); // Instancia de generador SHA-1 } catch ( NoSuchAlgorithmException e) { throw new IllegalStateException (e.getMessage()); } try { md.update(texto ...Show All

  • .NET Development Networkstream & TCPClient - write does not throw IOException when server goes down.

    Hello all, I encountered a strange problem. I use a TCPClient to send messages to a TCP Server (by Network stream's Write function) when the server is connected it all goes well, but when the server closes the connection I get IOException only on my second write! - the first write method is called as nothing had happened. I tried to give my TCPClient true on NoDelay and also fixed the SendBufferSize of the TCPClient to be exactly as ...Show All

  • .NET Development Question about End-End...etc

    frequently I heard and read about End-to-End solutions Front-End Back-End so i wondering what are they means and where can I find real examples about them. http://en.wikipedia.org/wiki/Back_end http://en.wikipedia.org/wiki/Three-tier_%28computing%29   A end-to-end solution means that you deal with all parts of the application, starting with the database, and ending with the user interface. ...Show All

  • SQL Server How can i get the first day of the month and the last day of the month?

    Is there a function that do id or i need to calculate it by myself Hi, there is no built in one, but you can use these ones here which is just wrote for you: CREATE FUNCTION FirstDayofMonth ( @InputDate DATETIME ) RETURNS DateTime AS BEGIN RETURN ( SELECT LEFT( CONVERT ( VARCHAR ( 10 ), @Inputdate , 112 ), 6 ) + '01' ) END GO SELECT dbo . FirstdayofMonth ...Show All

  • Visual Basic CheckedListBox, RemoveItem - Iternal Error...

    Hello, I'm trying to work out why I get an internal error when I want to remove the last item within a checkedlistbox. If I can handle the error in some way can you please let me know. The error wasnt present in VB2003 and if I build the exe and ignore the error when it is raised the program keeps working fine. Your help much appreciated. Matt. Code: Public Class Form1 Private isloaded As Boolean = False P ...Show All

  • Software Development for Windows Vista Can't find MFC lib files for 32-bit apps in new PSDK.

    I recently downloaded and installed the Windows Server SP1 Platform SDK. I notice that there are MFC include files and lib files in the installation. However, I can't find any lib files for 32-bit applications. As I understand it the library files in the .\Lib\AMD64\atlmfc\ and .\Lib\IA64\mfc\ directories are for development of 64-bit applications. So which libraries should I use when building a 32-bit MFC application Thanks in advanc ...Show All

  • Visual C# update values from form into database

    Hi Everyone,I am trying to read values from the database and onload of the form trying to display values into the form textboxes. But if I change any values in those textboxes want to update back to the database. Here is the case that I have written:**********************************************************<%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.SqlClient" %><script language=" ...Show All

  • Visual Basic TypeOf someobject IsNot TypeOfObject

    Now VB has an IsNot operator, though it isn't quite complete: I cannot write TypeOf someobject IsNot TypeOfObject Any plans to implement this I find myself writing it every now and then but then I have to change it... The thing is that "typeof ... is" is a single operator - the "is" in there is not related to the "is" operator. As such, when the IsNot operator was introduced, it did not affect oth ...Show All

  • SQL Server Return BIGINT OUTPUT param to VB!?

    Please help me on this one. I need to return a value to VB. I've tried returning a numeric value NUMERIC(25,20) via an output parameter but this didn't work. I'm know at a point in wich I created a bigint and multiplied the value so that the decimals are gone. However it only returns NULL ! ! ! !! ! Here's part of my stored proc CREATE PROCEDURE dbo.uspCalcWeightedAverage @StartDate2 varchar(10), @EndDate2 varchar(10), @InMarket nva ...Show All

  • Windows Forms I need a different grid

    I need a grid for Win App that can show some rows in different color  with others,  for example rows that their ID's>100  and I need to set a picture in my grid for every rows in a new column.  Thisis very important for me.  t ...Show All

  • Software Development for Windows Vista How to persist a sequential workflow

    Hi! I have a sequential workflow with 5 activities and a very long running activity in the middle. I want to persists the wf instance rigth after the middle activity has been compelted. How can this be done Thanks Andres Hi Check out this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=197958&SiteID=1 Basically, it tells that you can place an attribute called PersistOnClose on an activity, and the workflow ...Show All

  • .NET Development Audio recording in asp.net

    I need to implement voice recording in my web application when the user is speaking through an external device connected through the USB port. The user should be able to record,pause,play and so on from the controls on the device. Can anybody help me with this. I probably should be building a windows control for this and should be able to put it on the aspx page. But I want a start on this. I am coding in vb.net. Any help is appreciated. &nbs ...Show All

  • Visual C# Dynamically moving controls

    I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, t ...Show All

  • Visual FoxPro DHTML Edit Control for IE5

    I am trying to use this OLE for simple viewing some files, primarily text files, C++ header files, etc. It works well, although the text appears to be unformatted in the window. The characters are just jammed, no paragraphs or indentations preserved. It may be fine with me for this task. My question is how to implement sting search in the control. Is it possible If it is not possible, I can do it in the source file and take the coordinate ...Show All

  • Windows Forms Hosted Designer Smart Tags not showing up.

    I can't seem to get the Smart Tags to show up in my hosted designer. What am I doing wrong here is the service and options class class MyDesignerOptions : DesignerOptions { internal MyDesignerOptions() { this .GridSize = new Size (12, 13); this .ShowGrid = true ; base .UseSmartTags = true ; this .UseSnapLines = false ; this .LayoutMode = LayoutMode .SnapToGrid; } //public bool UseSmartTags ...Show All

©2008 Software Development Network

powered by phorum