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

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

flyte

Member List

Hila123
boaz_b
daviddou2006
Jan Byvaly
Derek Ju
Jean LeFrancais
Shirvo
Bill_C
bencoffin
su45937
SCRunner
HandledException
Alexei Baskakov
eric1969
Sukanya
ICP-Fan
Smarttles
InHowes
Colin Reid
A-Style
Only Title

flyte's Q&A profile

  • Windows Live Developer Forums Point converting from latlong to screen pixels

    How can I get screen pixels from lat and long I use map.LatLongToPixel(new VELatLong(myLat, myLong)).x and .y. But it returnes coordinates of the map. I need for it because I have some pushpins and I must put the label near each of them. Please give me example how can I do it. Not sure what the problem is, the sample code on the SDK works fine for me: <html>    <head>       <title></title>       <meta http-equiv="Content-Type" content="text/html; charset=utf-8">       <script src="http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"></script>       < ...Show All

  • SQL Server single report with the data from "Multiple data sources"

    Hi, In my project i want a report. In that report data is getting from more than one data sources(systems). While creating data source view i used named query for both primary and secondary data source. But at the time of crating "Report Model" i am getting below error. An error occurred while executing a command. Message: Invalid object name 'Table2'. Command: SELECT COUNT(*) FROM (SELECT SerialNum, ModelNum AS com_model FROM Table2) t Is there any way to create a report with multiple data sources In my report i am using 2 tables. Table1 is in database(machine1). Table2 is in database2(machine2). i need INNER JOIN of table1,table2 . What are the differnt methods to do this What are the other opti ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Basic projection, view and world matricies?

    Is there a tutorial out there about projection, view and world matrices I would like to check them out. I just wandered into this thread, and I'd like to thank Kyle_W for the explanations. All too often tutorials will tell you what to do for the matrices, but don't bother explaining what they're actually for. ...Show All

  • SQL Server Accumulate values in an aditional column

    Hi I have a table like this: CLIENT Value a 12 b 11 c 8 d 5 e 4 I want to accumulate this values in an aditional column CLIENT Value ACUM a 12 12 b 11 12 + 11 = 23 c 8 23 + 8 = 31 d 5 31 + 5 = 36 e 4 36 + 4 = 40 Thks for your help Rgds Harry What would I have to do if i want to decrement this values CLIENT Value ACUM a 12 12 b 11 11-12 = -1 c 8 8-11 = -3 d 10 10-8 = 2 e 4 4 -10 = -6 Hope to recieve some news soon Rgds & a lot of thks Harry ...Show All

  • Visual Studio Express Editions Click event

    Hi I need some help with my program....I'm having an issue getting the check box grand total to display a grand total....any help would be appreciated here's the program: Public Class VBLab2 Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click ' Clear Boxes txtPackageA.Clear() txtPackageB.Clear() txtPackageC.Clear() ChkGrandTotal.Checked = False txtPackageA.Focus() End Sub Private Sub btnCalculate_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click 'Package A retail $99 'Package B retail $199 'Package C retail $299 'Quantity Discount '10 to 19 20 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xbox 360 controller thumbsticks

    hello, I'm trying to move a Sprite with my 360 controller thumbstick, the X directions are working but the Y directions go the wrong way. can someone help me here's my code: void UpdateBall() { GamePadState gamepadstatus = GamePad .GetState( PlayerIndex .One); if (gamepadstatus.IsConnected == true && gamepadstatus.PacketNumber != gamepadvorigestatus.PacketNumber) { if (gamepadstatus.Buttons.Back == ButtonState .Pressed) { this .Exit(); } if (gamepadstatus.ThumbSticks.Left.X > 0) { int thumbstickX1 = Convert .ToInt32(gamepadstatus.ThumbSticks.Left.X); ball.ballposition.X += thumbstickX1 * 4; } if (gamepadstatus.ThumbSticks.Left.X < 0) { int thumb ...Show All

  • .NET Development Example Code

    This has probably been asked lots of times. But. Is there any equivalent to C's strtok in c#.net. Or has anybody written the equivalent. Thanks David On a side note, a string that contain multiple delimiters in a row without a non delimiter in between will produce empty entrie in the resuling string[]. you can get around thi easily in .Net 2.0 at least using this: string [ ] tokens = data.Split( new char [ ] { ' ' , '\n' }, StringSplitOptions .RemoveEmptyEntries ); ...Show All

  • Visual C# WebCam Capturing

    Hi All I need to Capture Webcam Images at regular intervals and save them to disc,i am developing a window based application using Visual studio 2003 and Dotnet Framework 1.1 , i really have no idea of how to do it, i welcome all with their valuable suggestions Thanks Here are links to code that does work... http://www.timvw.be/windows-multimedia-video-capture/ http://www.timvw.be/windows-image-acquisition/ (runs slooow on my computer) ...Show All

  • Visual Studio CRXI2 - VS 2005 - web page / Failed to open the connection. Failed to open the connection.

    I have successfully been able to display 2 similar reports . When I created the third report and developed a web page with the exact same code in the code-behind page, and every step in exact order as the first two web report pages , I get this.. Failed to open the connection. Failed to open the connection. C:\DOCUME~1\austism\LOCALS~1\Temp\HistoricalSampledateNCSOid {EE77DB46-0400-43D6-B0C6-5BBCC066188F}.rpt CrystalReportViewer - myCrystalReportViewer1 The following is in the code-behind after connection code is set up in the configure CrystalReports sub. HistoricalSampledateNCSOid = New ReportDocument() Dim reportPath As String = Server.MapPath( "HistoricalSampledateNCSOid.rpt" ) Hist ...Show All

  • .NET Development Access denied

    in .net 2005, when try to delete a folder using c# code. the folder becomes access denied. System.UnAuthorized exception raise, when i tried to copy a file into that folder.. This is not happening in .net 2003. i searched and try to solve , but not got the solution. A folder won't disappear after you delete it if any application has a lock on the folder. Windows will automatically remove the folder once the last lock disappears. One way to get a folder locked is when it is the default working directory for an app... ...Show All

  • SQL Server Casting...

    I've got an ftp task that will be downloading a couple of files each night. today they're called blah20060830blah the date value in the middle changes each day. I'm trying to adjust this value with an expression. The expression doesn't want to cast my getdate function into a string that this property will accept. I know i'm missing something stupid. Thank you Oh OK. Sorry, I thought you were in a Derived Column Component (which you are not). Your approach is the corect one. its jsut going to take some debugging that's all. The Expression Editor itself has some really useful visual aids as to the syntax of all the functions etc... Loom in the box in the top-right of the expressoin editor. -Jamie ...Show All

  • Visual C# why the format is not uniform

    private void port_DataReceived(object sender, SerialDataReceivedEventArgs e) { comport.ReadTimeout = 300; String s = comport.ReadExisting(); using (StreamWriter sw = new StreamWriter(@"C:\test.txt",true)) { sw.Write(DateTime.Now.ToShortTimeString() +" "+ s); sw.Flush(); sw.Close(); } } The above method is used to write data from the SerialPort to a text file. Below is the result I get in the test.txt: 4:22 PM 1 4:22 PM 2 3 4 5 6 4:22 PM 7 4:22 PM 8 4:22 PM 9 a 4:22 PM b 4:22 PM c 4:22 PM d 4:22 PM e 4:22 PM f Why for "3,4,5,6" there are no time ahead I was lost and could no find the reason.... ...Show All

  • Windows Forms Reduce the height of textbox control

    By default the height of the textbox is 20, I try to change to 17 but it back to 20 again, do you know a trick to reduce less than the minimun of 20 thanks in advance for your help, Edward do you know where I can find a free textbox control that handle OnPaint, and get control's border to any height and width base in control's size thanks for your help, but I don't like to use a multiline instead one-line textbox, I choose use OnPaint but I don't have the expertice to do it. ...Show All

  • .NET Development Incorrect syntax near '='.

    Can anyone please tell me why I keep getting this error "Incorrect syntax near '='." when I try to run this string loginUsername = txbUsername.Text; string loginPassword = txbPassword.Text; bool isSales = false; bool isRetail = false; bool usernameError = false; string strConnection; string checkUsername; strConnection = ConfigurationManager.ConnectionStrings["sweetConnectionString"].ConnectionString; checkUsername = "SELECT Username, Password, UserType from Users WHERE Username='" +loginUsername+ "'"; SqlConnection cn = new SqlConnection(strConnection); SqlCommand cmdCheckUsername = new SqlCommand(checkUsername); SqlDataAdapter adapCheck ...Show All

  • Windows Forms Sources of knowledge on Designer Support and Services provided by Net 2.0

    Recently I read an article on Designer Support by Net 2.0. ( http://msdn.microsoft.com/msdnmag/issues/06/03/DesignerHosting/default.aspx ). It was pretty useful for start understanding the Designer Support provided by Net 2.0. I am working on a project in which i am developing an IDE . Our IDE is basically inspired by VS 2005 and aligned with VS terminology too. i am now in scarcity of proper documentation of Designer Support provided by Net 2.0. The only source i found is @ ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconnetframeworkdesign-timearchitecture.asp ). i believe having been in touch of similar work and stuff, you all would be able to guide us to differe ...Show All

©2008 Software Development Network