Software Development Network Logo
  • Smart Devicet
  • .NET Development
  • Visual Basic
  • Visual FoxPro
  • VS Team System
  • Microsoft ISV
  • Windows Forms
  • Windows Vista
  • SQL Server
  • SharePoint Products
  • Visual Studio
  • Game Technologies
  • Visual C#
  • Audio and Video
  • IE Development

Software Development Network >> Jan Kučera's Q&A profile

Jan Kučera

Member List

Davids Learning
Perarg
bessermt
Speeding Target
Jstun
JR Lyon
Amos Soma
Brandon Bloom
DOSrelic
FasT
Zuchman
Stephen S.
Imran_Akram
John Fly
Ron DeSerranno - MOBIFORM
SONAL N. SATPUTE
Xadja
cbpd86
viveque
Shady9399
Only Title

Jan Kučera's Q&A profile

  • Visual Basic How to Calculate number of weekend days between the two dates?

    If start date is 08/17/2006 (17th august) and end date is 08/29/2006 the total number of weekend days are 4 Or a non looping suggestion: Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click MessageBox . Show ( GetWeekEndDays ( Me . DateTimePicker1 . Value , Me . DateTimePicker2 . Value )) End Sub Public Function GetWeekEndDays ( ByVal SD As Date , ByVal ED As Date ) As Integer Dim DaysDiff As Integer = DateDiff ( DateInterval . Day , SD , ED ) Dim NumWeekEndDays As Integer NumWeekEndDays = CInt (( DaysDiff / 7) * 2) If SD . DayOfWeek = DayOfWeek . Sa ...Show All

  • Windows Forms Placing a control over a ToolStrip.OverFlowButton.DropDown

    I've got a ToolStrip that occasionally will have a dropdown available. The toolstrip is in a control, that has a transparent panel over it, to handle all mouse events, instead of the toolstrip handling them. At times, the toolstrip's dropdown will be dropped down programmatically. When it is dropped down this way, I cannot get it to display behind the transparent panel that is covering the control. In the code, I've tried calling the transparent panel's BringToFront method, but it still is showing behind the dropdown. Any suggestions Thanks, Chris I doubt you will get this to work. The dropdown of the combo box is handled at the Win32 api level, so nothing you call from managed code will affect ...Show All

  • .NET Development make windows application project

         Am having bunch of web methods I need to make windows application project, add web reference toWEB METHODS and call the methods with parameters. If you are having sugestions/examples plz help me Thanks, Savindra Thanks, Glenno Am having Xml files with soap content I want to test those files, Am not having any idea on web services. My company provided me like files below and I has to test those files(by passing parameters ). pleze give me some examples . Thanks, Savindra SOAP 1.1 The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values. POST /Relationsnet.asmx HTTP/1.1 Host: 67 ...Show All

  • Visual Basic php editor

    hi there i am making a php editor and i wanna ask about 2 things : 1-what is the regex -not like in the msdn ,coz i got notthing from it,- and can i use something else 2-how can i make the *.php files open with my editor only thank man -shokran- is there a way i can highlight the php code without using this " regex" thing coz i got nothing about it :S ...Show All

  • SQL Server Convert DT_14 to DT_18

    Hi! I have a Fact_data flow with several Lookups. In one there's OLE Db source DT_14 (persons id's) which need to be compared to a column DT_18 from Dim_salesperson. Thats how I could collect the ID's from Dim_salesperson into OLE DB Destination. How could I compare, DT_14 data with DT_18 First converting DT_14 to character. Secondly char to DT_18 I would be so grateful if someone could give an idea... curiousss wrote: First converting DT_14 to character. Secondly char to DT_18 Assuming you are talking about DT_I4 and DT_I8; that approach sounds reasonable. Have you try it ...Show All

  • SQL Server Change chart type dynamically from Column to Line graph??

    I am developing several charts with column type and sub type as stacked. There is a requirement from the users that they want an option to choose the type of chart. Is it possible to change chart type dynamically from say Column type to Line type based on user option in front-end Any help will be appreciated. Thanks in advance !! The closest you can get directly in RS at this point is to define multiple charts with different types and conditionally only show one of the charts based on a parameter selection. -- Robert ...Show All

  • Software Development for Windows Vista F:\ not accessable Access is denied.....What the.....

    Any ideas When i tried to access my "mydocuments" Hard drive it says this any ideas ...Show All

  • Visual C++ Solution Explorer - Where did New Folder go?

    This is posted here cuz, there is no C++ IDE section.  So please don't flame me if it's in the wrong area I did the best I could. It appears that in visual Studio 2005, the new folder feature found in visual studio solution explorer has been replaced with "new filter".  While I find filters fun and nice to use, I find this feature not able to do what I could with the new folder feature in 2003   We basically have a very large project and we want to create "sub-folders" off of that project as to group the different areas.  An example would be something like...  Toy Store Project       Balls   -  In this "sub folder" is all the .cpp, .h, and resx files etc ...Show All

  • SQL Server On error i want to send error description as mail

    I have create a SSIS package, for data export import process, but if my task get failed then i have to send a mail with proper error description as the SSIS generate in output window. Can any one sugget me to, how can i store that error desciption in my variable. Thanks in advance. As you define above i'm doing such a way dts.variable("User::vName").value = dts.variable("System::ErrorDescription") but it is going me error in my script task. :-( please provide more specific detail or information. ...Show All

  • Visual Studio Express Editions Simple copy program

    Hi, I'm new to VB (obviously) and I'm trying to create a program that will copy the contents of a CD (to distribute on that CD) to a hard drive. I have tried using a batch program with the "xcopy" command, but Windows XP just doesn't work with a DOS shell too well. Is there a way I can do this with VB Or possibly even Javascript the problem there is that you have .\ which you shouldnt. As well as this, the usage is wrong. it should be: xcopy C:\CDContents DestinationPathHere /s usage: xcopy source [destination] [switches] ...Show All

  • SQL Server Visual Studio Output information in debug mode while running a SSIS package

    Hello When running a package in VS you can see something like this in the output window: SSIS package "logging.dtsx" starting. Information: 0x40043006 at Data Flow Task, DTS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Data Flow Task, DTS.Pipeline: Pre-Execute phase is beginning. Information: 0x402090DC at Data Flow Task, Flat File Source [1]: The processing of file "C:\test ssis logging\bad_data1.txt" has started. Information: 0x4004300C at Data Flow Task, DTS.Pipeline: Execute phase is beginning. Warning: 0x8020200F at Data Flow Task, Flat File Source [1]: There is a partial row at the end of the file. Information: 0x402090DE at Data Flow Task, Flat File Source [1]: The total numb ...Show All

  • Smart Device Development Problem trying to consume a web service behind a web service proxy

    I am hitting a rather critical bug regarding consuming a web service on a mobile device that is sitting behind a web service proxy (Jaxview). My device is able to see the wsdl of the service (on IE) and it is able to send a request to the service, but on the response I get the error below. The response is processed just fine if I bypass the proxy but that is not an option in my environment. I also have been capturing the tcp traffic to confirm that the proxy is indeed sending back valid xml responses to my request and it is. I am really at a loss as to why I am getting this error. Regards, Darren "The response did not contain an end of entity mark." at System.Net.HttpWebRequest.finishGetResponse() at System.Net.HttpWebRequest.Get ...Show All

  • Windows Forms Form with Skins

    Hi !!! How made a form with skins like winamp I want made a form with a shape non rectangular, with bitmaps. I see that I made a form with formBorderStyle = None, in the Taskbar, I don't have icon of application. How resolve it Escuse my english, I'm french. Thanks. Hi there, You can have a look at this thread where a similar question had been asked. Hopefully it should solve your problem. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=17702&SiteID=1 Please mark this thread as answered if it solved your problem. Regards, Mamta ...Show All

  • Visual C++ SQLCHAR problems

    Hi, i'm a starting to develop some apps with odbc and visual c++ but i'm having some problems. I'm trying to make a simple Select query against my database, the conection is working fine and when i set the query hardcoded everything worked ok, but then I tried to add a little flexibility by making the where clause variable, founding the next code in msdn #define DESC_LEN 51 #define STATEMENT_LEN 51 SQLUINTEGER PartID; SQLCHAR Desc[DESC_LEN], Statement[STATEMENT_LEN]; SQLREAL Price; // Set part ID, description, and price. GetNewValues(&PartID, Desc, &Price); // Build INSERT statement. sprintf(Statement, "INSERT INTO Parts (PartID, Description, Price) " "VALUES (%d, '%s', %f)", PartID, Desc, Pric ...Show All

  • Visual Studio Team System Download FXCop 1.32

    Hi , I want to download FXCop 1.32. Please send me the link. I ahev the link for FXCop 1.35 but I want FXCop 1.32. Thnaks and Regards, ChatanyA Agrawal I too would like to download FxCop 1.32. Because my organization is still running Visual Studio .NET 2003 (lack of funding prevents upgrading), we are also unable to download the .NET Framework 2.0. Whenever we try upgrading to 2.0, Visual Studio starts getting some weird bugs. So I was hoping that you would link to FxCop 1.32 so that I might still be able to use your product. Thanks! ...Show All

©2008 Software Development Network