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

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

bkejser

Member List

Rei Miyasaka
mcmarquez
ce_developer
delma
PaulMD
Ninj
Dino Nguyen
5nad
Kailai
ILoveOregon
jordan V
gf
AnonymousI
Dileep Agarwal
Stags
hannesaj
motorola
SvenC
WizMan
Sweeps78
Only Title

bkejser's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Movement based on Rotation

    Hi I'm looking for a simple way to do X, Y movement based on the angle of rotation. So if my object is facing the north-east, pressing up will move the object along the X/Y axis in that direction. Thanks x += Math.Cos(angle) * speed; y += Math.Sin(angle) * speed; where angle is in radians (1 lap = 2*PI). Regret sleeping through trig :) ...Show All

  • SQL Server Move database from SQl server 2000 to 2005

    How to import database in SQL server 2005 from the SQL server 2000 The Data Transformation Services (DTS) tool that you are familiar with in SQL Server 2000 has gone through its own transformation in SQL Server 2005. DTS is no more, but instead with SQL Server 2005 you get a new transformation tool named SQL Server Integrated Services (SSIS). SSIS is much improved over the old DTS. Please go here for more information. http://www.databasejournal.com/features/mssql/article.php/3580216 ...Show All

  • Internet Explorer Development Just one BHO's instance for all the Tabs.

    It looks impossible, but: Is there a way to have a persistent instance of a BHO across all the Tabs That is, the same BHO instance for all the Tabs. At least, does somebody knows a “strategy” for to simulate this behavior You would achieve this the same as you would in any other mutli-process application. Depending on your specific needs, you could use any of the following techniques: memory-mapped files, globally allocated handles, flat file access, cross-process communication via pipes/messages, COM events (connection points), RPC, etc... the list goes on. You can look up any of the methods and see what their pros/cons are, and select the one that meets your app specific goals. ...Show All

  • .NET Development How to convert string to SecureString?

    I want to pass a string password in System.Diagnostics.Process.Start. The problem is that the defined password parameter is SecureString not string while my password is string. Normal casting evaluates to errors. Please how to cast string to SecureString Many Thanks in Advance. Bishoy tnx, it is ok, (small sysntax error in Line 3 - different name). but it does not solve my problem - later i realize, that you cannot open default mail client with adress to and attachment. tnx a lot... ...Show All

  • SQL Server Suppress blank lines problem

    I am having difficulty suppressing empty groups from rendering blank lines. For instance, take a simple left outer join to group detailed sales by region. The report has a regions group and the detail line. Every region that made no sales would print one blank line. If I add a subgroup between the region and the detail say to group by product within region then I get two blank lines for each no sale region. If I add another detail line then I get three blank lines etc. Has anyone else come across this and solved it Thanks. You can use the visible property of the detail line. Use an expression to check for data and if Len = 0, you can turn off visibility for the line. I've had to do this before. ...Show All

  • Software Development for Windows Vista InfoPath 2007 and Workflow .net

    Hi All, I need some assistance with integration of InfoPath and MOSS 2007. In particular Workflow. I am trying to find samples with InfoPath triggering Workflow. Here is a simple scenario I am working on. Ive tried using Sharepoint Designer to work through it but unsuccessfully. InfoPath Form – Request Includes name, personnel number, leave date from, leave date to and reason text. Workflow - <= 10 days, send email to single manager for approval. Workflow - > 10 days, send email to two managers for approval. ASP.NET Form – Approval Custom application for performing approval. Shows details of request and option to Approve/Decline including reason text. Workflow – send emai ...Show All

  • SQL Server DAY() not working with 'Left Join'???

    I have two tables. Days (1-31) and dates (random dates) If I have a query that is Select Day, Date From days LEFT JOIN dates ON days.Day = DAY(dates.date) Order By Day, Date The left join will not return all the days in days just the ones that join with dates. It returns as if I am doing and 'Inner join'. What do I need to do different Thanks. ry this: Select a.Day, b.date From days a LEFT JOIN dates b ON a.Day = DAY(b.date) Order By a.Day, b.date ...Show All

  • Visual Studio Can't debug website in VB2005 + Vista

    i'm using Windows Vista and Visual Studio 2005. i have a website i would like to debug and use step into option so i can follow the code while its running, this i could do in VS2003 with windows XP. I allready tried to put the line in the web.config <compilation debug="true" > but it still doesn't work. thankx for any help. ...Show All

  • Audio and Video Development Unkown Video Resource - .WMV supported?

    I've got one more resource loading issue. The Validator complains on all my <PrimaryAudioVideoClip> elements. It also means that when I run the simulator I get a resource load error when I select to play any videos. My playlist worked in the first release, so I'm trying to figure out what I am doing incorrectly.  Is it breaking because I'm using a wmv For example: | | | | | + <Title> | | | | | - <Title> | | | | | | | Using xml:base: file:///dvddisc/ADV_OBJ/ | | | | | | | Attribute: titleNumber="1" | | | | | | | Attribute: titleDuration="00:01:00:00" | | | | | | | Attribute: id="start" | | | | | | | Attribute: displayName="start" | | | | | | | Attribute: onEnd="start" ...Show All

  • Software Development for Windows Vista Why WF?

    Hi, I spent the last few months playing around WF, finally have better understand on how to create workflows and design the host applications. Then the next question is where and how to make use of them. My job focus is on Web-based Document Management Solution, which might involved some document approval workflow. One of the basic requirements is we need to provide a way for the users to design / modify the workflow (like many other DMS solution in the market). If we go for WF as the Workflow engine, I've the following concerns: 1) the WF designer seems too complex for ordinary users to understand. Also doesn't work under Browser Environment (actually it can but not recommended because of security issues). 2) a workflow ...Show All

  • SQL Server How to update ANSI_PADDING to ON

    Hi how can I update ANSI_PADDING to ON for a table using script without dropping the table. Please help. I have added in table modification script to on ANSI_PADDING but it doesn't turns it to ON. What should I do in script to turn ito to ON. I can't drop the table, just modification is possible at this time. ...Show All

  • Windows Live Developer Forums LatLongToPixel and custom popup balloon

    I am trying to use the VEMap.LatLongToPixel method to return the pixel location of the lat/long of a pushpin. I want to use this information to pull up a custom panel next to the pushpin instead of the default popup. However, when I do this I get some weird numbers. For example: function DoLLToPixel(lat,lon) { var point = map.LatLongToPixel(new VELatLong(lat, lon)); alert("The lat/long entered is at pixel: x="+point.x+", y="+point.y) } I get some weird numbers running this that are in no way the correct pixel. When I run this I get -981 and -3304. If I add just 1 to the lat and long it jumps to -3894 and -6819. I cannot find much on LatLongToPixel that would give me some hints. My plan is ...Show All

  • Visual Basic display msgbox in particular area

    hi can anybody say how to display the msgbox at a particular area in the screen for the display the msgbox at 0,0 or center likewise This code will place your msgbox at desired position: CODE: 'module ' the max length of a path for the system (usually 260 or there abouts) ' this is used to size the buffer string for retrieving the class name of the active window below public Const MAX_PATH as Long = 260& public Const API_FALSE as Long = 0& ' made up constants for setting our timer public Const NV_CLOSEMSGBOX as Long = &H5000& public Const NV_MOVEMSGBOX as Long = &H5001& ' MessageBox() Flags public Const MB_ICONQUESTION as Long = &H20& public Const MB_TASKMODAL as ...Show All

  • Software Development for Windows Vista dormant task escalation

      Hi everyone, I have what seems to be a simple task that I can't seem to figure out.  So I have the textbook SharePoint createTask -> what for it to change throught the onTaskChanged Activity within a While Loop -> Complete Task. The above is working perfectly.  The problem is that I want to have the capability to escalate the task to another party if it takes, say longer than 5 days. This is contained within a sequential workflow and I would like to keep it that way, but I'm open to converting it to a state machine if that's what needs to happen. So my question is: what's the best approach to going about this Thanks, rnellis2002 The SharePoint - Workflow forum ...Show All

  • Visual C# How to embed DataGridView in dll

    I want to create a dll with following function, but when i compile i face error, Error 1 The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference ) D:\ClassLibrary1\Class1.cs 9 48 ClassLibrary1 How to solve this problem, is there any alternative method solve this problem. public void fillDataGrid(System.Windows.Forms. DataGridView DataGridName, string DataMemeberName, string Query, System.Data.SqlClient. SqlConnection ConnectionToDatabase, System.Windows.Forms. Form frm) { if (ConnectionToDatabase != null ) { System.Data. DataSet ds = new System.Data. DataSet (); System.Data.SqlClient. SqlDataAdapter ad = new System.Data.SqlClient. Sql ...Show All

©2008 Software Development Network