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

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

dakerson

Member List

newVBuser
S Lyons
rtucker913
Awais786
Frankelman
Dan Crowell
Rabid Pinata
André Rentes
ruippeixotog
nhl66pens
Angus Leeming
Rastogi
thomas_woelfer
Artie Sluka
JWTK
s441
Tomay
first_
renyx
Sayor
Only Title

dakerson's Q&A profile

  • Smart Device Development Clearing Keyboard Buffer

    We have a deployed mobile application which requires some time to process keystrokes in certain cases e.g. 3-5 seconds for waiting for SQL CE queries, and users sometimes think the device is ready for keystrokes although it isn't, so they keypresses get stuck in the buffer and the device gets busy again with some unpredictable events. I was considering to do SQL CE queries by using multi-threading, but the UI still appears to be locked up and the whole multithreading issue is rather complex. It would be more simple and still user-friendly to avoid this by emptying the keyboard buffer after the processing has finished to avoid buffering input during processing. So the question is quite simply: "How can I clear the keyboard buffer ...Show All

  • Visual C++ beginner needing help using mulitple source files

    Ok, this is a question from a beginner to this environment. I am having trouble using mulitple source files in a windows form application I am designing. I am wanting to create a cpp file called click.cpp to perform a function everytime I press a button. In other words, in my Form1.h file, I have this: private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { click(); } In my click.cpp file, I have this: #include "stdafx.h" #include "Form1.h" void click() { button1->Text = L "IT WORKS!!!" ; } Unfortunately, this does not work. I get two errors: 1>.\click.cpp(7) : error C2065: 'button1' : undeclared identifier 1>.\click.cpp(7) ...Show All

  • SQL Server Can only see system tables

    Hello, I have created a linked server XYZ that is linked to server ABC. I am tying to view the tables via XYZ but I'm unable to do so. I can only see the system tables. When I run a select statement, I get the correct results. That means I have the access to the tables, yet why am I not able to see the tables. Please assist That highly depends on the type of linked server you are accessing. Which server are you accessing HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Trouble serializing an exception to XML

    I have a try/catch block in my code and I am attempting to serialize an exception into XML so that I can store it nicely in a database if I so choose. I am running into a problem though... In my Catch block I try to get the XML for the exception (ex), but I receive an error when I try to pass in an exception. (snippet from Catch block) sXmlString = FetchXml(ex, ex.GetType()) Public Function FetchXml( ByVal InObject As Object , ByVal InType As Type) As String Dim oSerial As New XmlSerializer(InType) 'ERRORS OUT HERE Dim oText As New XmlTextWriter( New MemoryStream, UTF8) Dim sXml As String Dim oStream As MemoryStream oText.Formatting = Formatting.Indented oSerial.Serializ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Blender

    Can blender be used with XNA GSE Just wondering b4 i go and get my new comp this week because my desktop crashed... Use it can, I have been using Blender for Modeling for a long while. But Blender should not be a decider in a new Computer, it will run on any of the modern PCs, even if the hardware dosn't support XNA. When purchasing a new machine you should be making sure that XNA is supported, then all of the support tools that you need will run. I would check the XNA FAQ and make sure that you are purchasing Hardware that is supported for XNA and the Game Studio Express. ...Show All

  • Visual C# Difference between nesting and inheritence of classes

    Hi, Can any one tell me if there is a difference between nesting of class and inheritence. Regards Santanu Hi, So what is the yield of nested classes or what is the purpose Why do we need to use nested classes Can anyone explain Thanks in advance ^^ ...Show All

  • SQL Server Built in report tool returns dollar symbol not pound symbol.

    I can't be the only one to of noticed this but my local setting are all set to United Kingdom, but when using the in built reporting tool I always get dollar symbols. The command I used to format the text box was the formatcurrency() express which states it will format the text in accordance with the settings in control panel. The only thing I can think of is that it is either using a system default setting (were on a domain with roaming profiles) or it uses the language as set on the SQL server (which I haven't checked yet). Anyone else noticed this odd behavior or know where you type the expression pattern to make a custom currency format for UK I can confirm that setting the language of the report does in fact fix the local symbol ...Show All

  • Software Development for Windows Vista SetProcessDPIAware

    I've to try some software on Vista...this software should start with a resolution of 1280 * 1024 and 120 DPI , but it was to big, it reach out of the screen.I searched in the www and found the SetProcessDPIAware Function for building up a DPI-Aware Application, so i built up a short c++ app , it just show a normal window with the size by getsystemmetrics ,cause the other programm use it. But after using the SetProcessDPIAware function , my VisualStudio 05 show that SetProcessDPIAware isn't identified, but i included all needed files.. So where is the bug.. my little app is a template project / win32 application - windows app of visualstudio 05 Hello all, does anyone know how to do this in C# I ...Show All

  • Visual Basic Passing the Byval variables in the function

    Hi, I am working in vs 2005 using vb.net. I have a doubt to pass the Byval value in the Byref variable which is declared in the function declaration. For ex: I declared a function like this: public function Add(Byref a as integer, Byref b as integer) as integer How can i call this function like add(Byval 10,Byval 20) in vb.net. Thanks, Venu Does this not work is this not what you are after Dim result as Integer = Me.Add(10, 20) MessageBox.Show(result.ToString()) ...Show All

  • Visual Studio Express Editions Show URL title in title bar

    Private Sub WebBrowser1_DocumentTitleChanged( ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentTitleChanged this.Text = "Farscape Navigator - " + this.theWebBrowserControl.Document.Title ; End Sub I can not get it to show the page title in the title bar. I want to display the Web pages title in the title bar. I was commenting on TMisner's code. Which has a line that ends with a semicolon and aurguments that do not match the event hande. System.Windows.Forms.WebBrowserDocumentCompletedEventArgs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How can you play Ogg files in DirectSound?

    Okay, as suggested, I'm going to try using "Ogg" files instead of MP3 files. I've already found a free app that converts mp3 to ogg, so all I really need now is a way to play them! This is for background music, so ideally I would like to create a class with the following interface: public class OggPlayer() { public void Load( string filename ); public void Play( bool playLooped ); public void Stop(); public void SetVolume( int volume ); } Because this is background music, it obviously needs to loop automatically. And because I don't want it cutting off rudely mid-note, I would like to be able to fade it out as well (thus the "SetVolume" method). So I know exactly what I want; my main difficulty is that I've never worked with ogg ...Show All

  • SQL Server More details for: SSPI context / [DBNETLIB][ConnectionRead (recv()).] General network error

    Hello together, since over a week I've been looking to find out the reason for two error messages I get from our users and servers, unfortunately without success up to now. I really hope you can help me. We are using Win 2k servers with active directory and SQL Server 2000, clients are all Win XP with SP2. Versions of access are 2002 & 2003. The errors are userspecific and occur in both versions. The SQL-Servers are accessed with an adp-file in 2002-format. We have one usergroup which is member of specially many groups. This affects the size of their windows access token which becomes constantly larger. In order to enable those users to still access their mailboxes on our Exchange servers, the DWORD entry ...Show All

  • Visual Studio 2008 (Pre-release) [Help]Service call from a callback handler

    There are couple of client applications connected to the server. When one of client program submits the request to server, for instance, changing or deleting an entity, the server program will process related data, and then call back to all the clients (broadcast) to notify the data changes. To use less communication, in the callback, not the entire changed object is transferred to client. Instead, the callback simply passes the ID of the changed entity to client side. When client is interested in that change, it then ask server for the whole object; otherwise, the callback will do nothing. The reason for this is because some object is quite large in my system. Here is my issue. For example, client A submitted a request to server. After ...Show All

  • Visual C# eventhandler for datetime control

    VS 2005 - I want to add an event handler for a datetimecontrol using the event ENTER. When the datetime is entered I want it set to todays date I have tried using the object.value but it does not seem to work. Can anyone correct the for me - thanks void hnOnEnterDT( object sender, EventArgs e) { /* date picker - handler for (Enter) * Set the control to the current date */ = System.DateTime.Today; } Then try: void onEnterDateTime (object sender, EventArgs e) { ((DateTimePicker) sender).Value = DateTime.Now; } HTH --mc ...Show All

  • .NET Development File.Delete takes too much time.....sometimes control never comes back

    Hi...... I am using System.IO.File.delete method in my project. I takes too much time and sometime control never comes back. my file size is 170 mb. When I debug it, I found that once file.delete g ets called, it will never come out of the call and next instruction is not executed. Please help me....what can I do.. code is simple... if (File.Exists(filepath)) { File.Delete(filepath); } Hi, Are you sure the file is not in use anymore You might want to perform the deletion in a separate thread. Are you using a Windows Application then you can use the BackgroundWorker component. This gives the benefit that you can continue working with the application while the file is being deleted. Here is ...Show All

©2008 Software Development Network