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

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

CSharpShooter

Member List

windows_mss
keroed1
AndyL
Eric Lee
karande23
Tom25
Bigmo
aashta
DQM
Woyler
Koruyucu
David Törnquist
Tomys
Igor L. Kravchenko
Mario Antunovic
Surfsune
balti bob
vijil
Sweeps78
Mirricle
Only Title

CSharpShooter's Q&A profile

  • Visual Studio Express Editions unhandled exception and no cource code available

    hi    My program is a cosole based application. One of my methods named "transfer (int image[600][600])" is the trouble maker. without any call to this function, program runsperfectly fine. If I call this method at ANY place in my application, the whole application does not run AT ALL. As soon as I run my application a message box appears with the following text: Unhandled exception at 0x0040c197 in DatasetPeeling1.exe: 0xC00000FD: Stack overflow. When I click BREAK another MessageBox appears with the following message: There is no source code available for the current location. I even cannot debug this application as the application does not start, although the call to trouble making function is at the ver ...Show All

  • Windows Live Developer Forums Appearing offline to cantacts while online

    None of the above tips helped...Sorry for opening 2 threads The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microsoft.public.msn.messenger Get the latest information on Messenger from the Messenger Team MSN Space: http://spaces.msn.com/MessengerSays/ ...Show All

  • .NET Development How can I parse an SQL statement into a canonical form ?

    Is there any class available (either in the framework or external and in that case preferably open source) that can be used to test whether two sql statements are equivalent or not (equivalent regarding irrelevant white space, parentheses, and upper/lowercase for keywords) Basically, what I would like to do is to find a class (below called SqlParser)that I can use like this: string sql1 = SqlParser.getSqlStatementInCanonicalForm("SELECT mycol1 FROM mytable where mycol2=1 and mycol3='abc'"); string sql2 = SqlParser.getSqlStatementInCanonicalForm(" sEleCT mycol1 frOM mytable where ( mycol2 = 1 ) and ( mycol3 = 'abc' ) "); NUnit.Framework.Assert.AreEqual(sql1, sql2); / Tomas Paul P C ...Show All

  • Smart Device Development "The remote server returned an error: (500) Internal Server Error."

    Hi, I am trying to yahoo.com a website using c# from my pocket pc device. when I ping the intranet site, I gets the response, but when I pings any external (public ) site I gets "The remote server returned an error: (500) Internal Server Error." error message . Here is my code sub main() { IsNetworkPathAvailable("http://YAHOO.COM"); } public bool IsNetworkPathAvailable(string destinationAddress) { bool connected = false; HttpWebRequest request = null; HttpWebResponse response = null; try { request = (HttpWebRequest)WebRequest.Create(destinationAddress); request.Proxy = new WebProxy("proxyservername", true); request.Credentials = CredentialCache. ...Show All

  • .NET Development sproc and bindingsource

    In the following code, the connection opens, no error is raised, and the dataset does not fill. Would some kind soul please point out my error sConn = "Server=SRVR;User ID=USR;Password=PWD;Trusted_Connection=False"; oConn = new SqlConnection( sConn ); ds = new DataSet(); dsGrid = new DataSet(); try { oConn.Open(); statusMessages.Text = "Connected"; BindingSource bsDb = new BindingSource(); SqlCommand cmdDb = new SqlCommand(); cmdDb.Connection = oConn; cmdDb.CommandType = CommandType.StoredProcedure; cmdDb.CommandText = "sp_databases"; SqlDataAdapter daDb = new SqlDataAdapter(); daDb.SelectCommand = cmdDb; daDb.Fill( ds ) ; // ds does NOT FILL .... i test your code with small modification ...Show All

  • Visual Studio 2008 (Pre-release) Can't get ViewBox to scale to fit into an ElementHost

    I've written an experimental app that loads xaml files at runtime and then displays any UIElement that is loaded in a Windows Forms application. This works but the XAML graphics don't resize as the form is resized. The ElementHost is dock filled and my attempt at automatically sizing the XAML graphics is to put the loaded UIElement into a Viewbox as part of the loading process. When I do this it no graphics are displayed. See below the relevant section of XAML loader code. What would be the correct way of automatically sizing dynamically loading XAML content hosted in a windows forms app if ( element != null ) elementHost.Child = null ; object xaml = XamlReader .Load( File .OpenRead( openFileDialog.FileName ) ); elem ...Show All

  • Visual Basic Binding keys within the form

    Anyone know how to bind for say the "esc" key to a function Code Snippet 'make sure you set your forms keypreview property to true. Me .keypreview=true Private Sub frmMain_KeyDown( ByVal sender As Object , ByVal EventArgs As System.Windows.Forms.KeyEventArgs) Handles Me .KeyDown Select Case EventArgs.KeyCode Case Keys.Escape me .close 'function to call End Select End Sub ...Show All

  • Software Development for Windows Vista INSTALLATION ERROR

    Content of log files, [07/24/06,14:20:30] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [07/24/06,14:20:49] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 - was not attempted to be installed. Thanks. I passed it on to the owner of the .NET Framework install, and he'll get back to you. ...Show All

  • Visual C# Emacs keybinding blues

    Hi, I'm trying to rebind just a few of the standard IDE keybindings to Emacs style--goto end of line, goto beginning of line, open-line, etc. I can enable the whole Emacs subset provided by VS2005, but that takes away too many of the useful default keybindings. My issue is really with the whole process of rebinding keybindings in VS. It's _really_ frustrating and awkward. One problem is that there is no way for me to get a global list of all keybindings in the editor. This is really bad--how I can easily learn what bindings exist if I cannot get a keybinding list Once I saw a macro for dumping the keybinding list in a third-party book, but the macro was complex, and did not work with VS2005. A complete keybinding list should be pa ...Show All

  • SQL Server problem with identifier lengths when connecting Analysis Services to Oracle

    Hi All, I'm currently trying to process a cube that is built off a DSV that points to an Oracle 10g data source.  However, I keep getting errors akin to the following: Error 1 OLE DB error: OLE DB or ODBC error: An error occurred while preparing the query "   SELECT "Transaction Type" "CstOrdsTransaction_x0020_Type0_0"   FROM "IAL"."BP_BI_CUSTOMER_ORDER_LINE"" for execution against OLE DB provider "MSDAORA.1" for linked server "(null)". ; 42000.  0 0  Some attributes process successfully and others don't.  I have noticed that the error occurs only when the generated identifier that it uses to alias the column exceeds 30 characters in length, eg "CstOrdsTransaction_x0 ...Show All

  • Windows Forms \r\n problems with textbox

    Hi All, I'm making a program which has a textbox, when I try to set the text of that textbox it seems to not allow \r\n to work, a small square box appears in the text instead of a new line being started. I've set the properties of the textbox so that multiline = true and scrollbars = true Does anyone know how I can resolve this please Any help would be gratefully received. Many thanks in advance and kind regards, Rich string text = "Hello\r\nWorld"; textBox1.Lines = text.Split( new char[] {'\n'} ); ...Show All

  • Visual Studio Express Editions try this

    hi....how can we make a textbox format which is mpp-0000 and when i click a button the 4 zeros will increament by 1 (mpp-0001) in Form load set Me .TextBox1.Text = "mpp-0001" and then in your button clickevent Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Static Dim intDigit As Integer Static Dim intTen As Integer Static Dim intHundred As Integer Static Dim intThousand As Integer intDigit = Val(Mid( Me .TextBox1.Text, 8)) intTen = Val(Mid( Me .TextBox1.Text, 7, 1)) intHundred = Val(Mid( Me .TextBox1.Text, 6, 1)) intThousand = Val(Mid( Me .TextBox1.Text, 5, 1)) intDigit += 1 If intDig ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Geometry instancing support on 360?

    I'm working on a geometry instancing demo and I noticed in the XML documentation for GraphicsDevice.SetFrequency() that the method (and related methods) are "Windows Only". Is this a mistake Here are the  NVidia thoughts: "Use of instancing isn’t free. There is a small amount of per instance overhead in the driver (luckily this is much less than normal draw calls). Also, since we are passing down extra instance data in the vertex stream, all the instance data adds to our vertex stride, which will reduce our vertex cache efficiency. As well, the instance data may require that we do extra math ops per-vertex when we could be doing that math per-instance. Since with instancing, you might pass down the world transf ...Show All

  • SQL Server Book recommendation

    I have begun to try to break out of using Access db's (97!) and have been trying out SQL Server Express 2005 along with the SQL Management Studio Express. I am a little confused with it as I am trying to use the interface inside of VB.NET 2005 as well as the management studio and sometimes I can connect from one without the other. Anyway this points to the fact that I have a lot to learn and I was looking for a recommendation for a book that could be a tutorial for using VB.NET 2005 with SQL Server Express. I really need something that starts from square one but hopefully builds fast. Right now it appears I need to understand connection strings (when do I put ".\sqlexpress" and when do I use the server name followed by the instan ...Show All

  • Visual C# Static Methods And Thread Safety

    could somebody please tell me, in the following static method, is it possible for a second thread to call the same method with a different input variable modway through, thereby screwing up the result thanks public static int GetString(int i) { // do some stuff with i. e.g. i = i + 100; i = i / 2 ... etc. return i; }   Wee Bubba wrote: i think im going to avoid static classes and static methods wherever possible. Why Usage of statics is a powerful concept and one of the main features of the language. There is nothing wrong with static methods/classes in use with threading... Some of the same problems exist with non statics. Thread safety procedures have to be e ...Show All

©2008 Software Development Network