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

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

Pajaro

Member List

Andreas Kranister
Ilya_X1
xgalaxy
KrisK
fuongptit-kodomo
Trevor2006
General Fault
dtsn
Pajaro
gshaf
Martin Moe
newbie777
Bo_
kcdclan
FasT
Eragon.
Philly10407
Jan Kučera
DavidThi808
Kai123
Only Title

Pajaro's Q&A profile

  • SQL Server 'Dynamic Time(year,month,date)' Report Template (rdl) using Report Designer VS2005

    I have three types of specific reports that i have to create with the input parameters (range) either 1: By date (rdl 1) 2.By Month (rdl 2) 3.By Year (rdl 3) Is it possible ( or how do I ) to create just one report template ( one rdl) with the three sets of parameters ( hiding/invisible which ever two sets base on user selection) and the output of the report will display the desired type( either by year, month or date). I ask this because its possible to create a drill down report from year down to date etc in report designer (vs 2005). Not sure if I can create one instead of three rdls and with the 'logic' built within that template. Thanks Regards Alu You could create a parameter Report Type with 3 options ( ...Show All

  • Visual C# How to trap keyboard? Keydown or Keypress

    I need to get what key has been pressed, but I need 8-bit ascii code, also I need to detect all keyboard keys, like enter, escape, f1-f10, etc. Which do you think is the best way to handle this thanks in advance for your help, Edward Your question is ambigious, Not clear on what level you want his. Control Level Form Level or System Level. Any how on Control Level u can use KeyPress or KeyDown events and see what in e.KeyChar, e.KeyCode etc..... whatever you need. On Form level you need to override WndProc method to see appropriate Windows Messages . On system level you need to set Global Hooks. Search on google Global Hooks in C# and also try Code project it has a ready made excellent project w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Port asm to HLSL help please

    Could someone who is more intelligent than me please convert the below asm code to HLSL. You will have a place in heaven if you do this ..... :O) Thanks, Dave PixelShader = asm { ps_1_1 tex t0 tex t1 // Specular dp3_sat r1, t1_bx2, v1_bx2 // r1 = (2.0 * (NormalMap - 0.5)) * (2.0 * (vSpecular - 0.5)) dp3_sat r0, t1_bx2, v0_bx2 mul_sat r1, r1, r0 mul_sat r1, r1, r1 mul_sat r1, r1, c2 // Diffuse + Ambient dp3_sat r0, t1, v0_bx2 mad_sat r0, r0, c1, c0 mad_sat r0, r0, t0, r1 }; PixelShaderConstant1[0] = (cAmbient); PixelShaderConstant1[1] = (cDiffuse); PixelShaderConstant1[2] = (cSpecular); the asm shader ...Show All

  • Windows Forms text field date formatting.

    Hi, Currently the below text box prints the date 12/13/2006. But it should be MM/DD/YYYY. Could some one please show me how to change the formatting. Thanks. TextBox txtArrival = (TextBox) (e.Item.FindControl("txtArrivalDateAdd")); if(txtArrival != null) arrival = Convert.ToDateTime(txtArrival.Text); if (startdate != null) { ((Label)dvSponsorship.FindControl("lbldate")).Text= string.Format("{0 d-MMM-yyyy}", startdate.Text).ToString(); }Hope this will work ...Show All

  • Software Development for Windows Vista Real time events slow...

    The following is in regard to XP. If this is not the right forum, please advise. (It seems likely though that this behavior also exists in Vista.) I've inspected the tracelog and tracedmp sample projects in the SDK. I'm writing code that needs to receive disk I/O events from the kernel logger in real time. I'm using EVENT_TRACE_REAL_TIME_MODE with OpenTrace, etc. My event callback seems to be called Ok, except that it happens not actually in real time. Instead, it seems that the system is buffering up a bunch of events, and then calling my event callback many times in a row. I need to see these events as they occur, not later when a buffer load of them has accumulated. Is there any way to get these events to be passed to the ca ...Show All

  • Windows Forms Clickonce updates

    Hello, I wonder if anyone would be kind enough to help me I have published my application with Clickonce and specified an update location. How do I save or publish the update files necessary for updating the application after I have mad changes to it Is the .NET 2 SDK required for this Many thanks CPS Publish it again with an updated publish version :) http://msdn2.microsoft.com/en-us/library/e6y518tc.aspx Best regards, Johan Stenberg ...Show All

  • SQL Server Templates - Predefined parameter values

    I have created template that the dba team is going to use to generate consistant code. What I was wondering is there a way to save some of your parameter values so each time I open a template some of the parameter are already set for me... Ex. We have an author parameter. If I could set that to my name and save the parameter template then when I use a template I wont have to populate that value. Ex 2. DataBase parameter. We typically work on a project that interfaces with one db. If I could set the parameter value to MyDB then any time I use the template it would already be populted intstead of having to set the same parameters over and over when they will either never change or very seldom.... I did several searches with no ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Library support

    Hi. I posted this in a thread earlier, but the thread dropped back half a dozen pages in a few hours. This place is popular! If we want to use external libraries or middleware, do they have to be written in C# and come with source provided I'm thinking of libraries like SQLite, Lua, ODE and so on that would normally be included as a .dll reference in your C# project. I assume that's not possible if you want your code to run on all available platforms That means that basically we're starting with a very clean slate here. There seem to be precious few libraries that are useful for games developers and written in pure C# for the XNA platform. The concern that I have is that not only will it take many months before a decent array of middlewa ...Show All

  • .NET Development XML program

    please tell me what is working area of xml language.where this is widely used. Hi, Please refer my post in the following link, Hopefully it will give you idea about what you want. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1185958&SiteID=1 HTH, ...Show All

  • SQL Server Dynamic filedlength of varchar fields in source

    I'm using SSIS to import data from a table (SQL) containing varchar fields. The problem is, that those varchar fields are changing over time (sometimes shrinking and sometimes expanding). I.e. from varchar(16) to varchar(20). When I create my SSIS package, the package seem to store information about the length of each source-field. At runtime, if the field-length is larger then what the package expects an error is thown. Is there anyway around this problem Oh, yeah... My destination fields are a lot wider then the source fields, so the problem is not that the varchar values doesn't fit in my destination table, but that the package expects the source to be smaller... Regards Andreas A. Brost ...Show All

  • Visual Studio Team System Check-out not getting latest (RTM)

    Hi all We have this occasional problem whereby checking out a file doesn't get the latest, subsequently resulting in us having to merge our changes due to the file being different on TFS. Any ideas This sounds like it could be a bug to me Thanks Kev (dunno how this got posted to the wrong thread) Get Latest on Checkout is unlikely to be in SP1. Here are the workarounds I know of: - use the MSSCCI provider: http://www.microsoft.com/downloads/details.aspx FamilyId=87E1FFBD-A484-4 C3A-8776-D560AB1E6198&displaylang=en - add a new Solution Explorer menu item: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=332541&SiteID=1 - us ...Show All

  • SharePoint Products and Technologies SPsite url not working in asp.net website

    Hi, I have a problem, I am making a document view in an asp.net website, everything is working fine in Visual studio but when I try to use it in IIS on the same machine as the SPS I get an error Message: The Web application at URL could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application. Trace: at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at TasksEdit.ASPxGrid1_BeforeDeleteCommand(Object source, BeforeDeleteCommandEventArgs e) in c:\Inetpub\wwwroot\Dams\TasksEdit. ...Show All

  • SQL Server reference member in user hierarchy

    hi, I have a user hierarchy in my Date Dimension such as [Calendar]->[Years]->[Quarters] And I can access the member by directly call the memeber name, for example: select [Date].[Calendar].[Years].[2006].[Q2] on columns, ................................... The results will be correct. However, if I use reference to call the member, for example: select [Date].[Calendar].[Years].[2006].&[2] on columns, ................................... There will be nothing in my results. Would you please tell me what shall I do to enable the reference call to my hierarchy member Thanks. hi, Thomas, Thanks and I have tried to add a composite key (year+quarter) according t ...Show All

  • .NET Development Download a file from http

    Hi, I have a question about how to download a file on the background from http using C# 2005 I tried the follwing code for example: using System; using System.Collections.Generic; using System.Text; using System.Net; namespace Web_Client_test { class Program { static void Main( string [] args) { string file = "tutorial.rar" ; Console .WriteLine( "Downloading file: {0}" , file); WebClient myClient = new WebClient (); myClient.DownloadFile( "http://users.telenet.be/RT-Adventures/tutorials/" , file); Console .WriteLine( "Download Completed" ); Console .ReadLine(); } } } And this goes well. But if I go to the directory of the exe, and start the RAR. WinRAR says: "This archive is either in unknown ...Show All

  • Windows Forms Bringing Form to front

    I'm creating a few processes in my winform, that open the windows dos shell. What happens then is that my form loses focus, and the dos shell covers my application. I'd like to bring my form to the front during this time. I tried this->BringToFront() but didnt work. How do I do this ...Show All

©2008 Software Development Network