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

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

Dotnetjunky

Member List

Fartlek
Shrek.NET
Weebmaster
graced
Steven Syfuhs
VladR
Daniel_Bowen
ralfkret
Rafak
Burn0ut
Meby
Cute_Celina
Emy_P
CrystalDeveloper
CPPUSer7
Steven.Dahlin
renealejandrov
renemt
Dan Fergus
DaveMcL
Only Title

Dotnetjunky's Q&A profile

  • Windows Forms performance issues with invoke

    it's generally known that invoking to the UI thread is expensive, and should only be used when necessary. the application i'm writing process data coming through the serial port, and processes the information to display it to WinForm controls. this happens very fast, and sometimes i have to draw data coming in 6 times a second. so, i end up using a lot of InvokeRequired, Invoke style design patterns. i'm starting to think that this is making my application run slower because i am invoking more often than i need to. i'm wondering if writing a backgroundqueue type of class would be more efficient. basically, here's what it would do. [code] class BackgroundQueue { private Queue<Delegate> _queue = new Queue<Delegate>; private boo ...Show All

  • SQL Server custom assembly problem

    I am developing a report in Reporting Services 2005 that references a custom assembly. In the custom assembly there are a function that get data from an access (mdb) database and returns a string value based on the parameter value that it receives. I have no problem using that function from the Visual Studio 2005 IDE, but when I try render the report via Report Manager the expression that uses the custom assembly function displays #error. The function do her job inside a try/cacth structure and if there are some error the return value of the function is the exception message. I test this and it works but here nothing about the message is diplayed. I reference a second custom assembly that have no data access components and it works fine in ...Show All

  • Visual Studio Team System Team Foundation Build and DB project.

    We have a DB project that we have created a team foundation build type for and which does run fine, at least no errors in log file, but it does not create the output sql scipt file. If I build the db project from the build menu within the VS IDE it will create the .sql script file in the specified directory ok or if I use msbuild it also works fine. I have seen some documentation about modifying the tfsbuild.proj file along with the dbproj file for actually deploying the DB but at this point I only want to create the SQL script file using the team foundation build. Is this possible to do I am currently using latest TFS along with VS and SP1 applied to everything including the build machine. If there ...Show All

  • .NET Development Sproc SELECT and sproc INSERT

    Hi. I have two stored procedures. One selects data that I build into a normalized DataTable from one database. The other should take the rows from the DataTable and then insert them into a second, separate database. For some reason, my insert C# code does not work. I can execute the insert sproc and it works fine, but not when called via the C# code. Here's the code: [CODE] public void selectNewLodgingSummaryRowToInsertViaSproc() { ConnectionStringSettings settings; settings = System.Configuration.ConfigurationManager.ConnectionStrings["sqlConnectionString"]; string connectionString = settings.ConnectionString; SqlConnection dbConn = new SqlConnection(connectionString); SqlDataAdapter daTransactions = new SqlDataAdapter( ...Show All

  • Visual Basic Set a timer from a combo selection

    I am trying to figure out how to set a timer interval from a string that was stored from a collection of a combobox that is stored in My.Settings What the combobox has is a range of numbers from 1 to 60, representing one minute to 60 minutes. what I am wanting to do is something like this but, I havent learned my math yet, so dont laugh, Private t As New System.Timers.Timer(2000) I know this represents 2 seconds, but I am wanting to use the the string values to set the timer interval like, Private t As New System.Timers.Timer(My.Settings.MyTime * 60000) I know the above line is not correct, what do I need to do to get the desired results Davids Learning What error do you ge ...Show All

  • Visual Studio Team System Team Build result not showing in the Builds Report

    i have stopped getting new entries in my reports, even though they appear in the list of builds. I've only added a task to create a directory & make a dummy exec call to do a "dir"... Build still succeeds... RE: Delay... OK, I can see that the server is running on borrowed RAM !!! Which won't help my cause any... Even though CPU is low, disk is prb. dying...as avg. disk Q length is often above 1.5, and out of the 1GB of Physical RAM that it has, its using 1.6Gb etc. All I'm doing it a get of stuff every 5 mins (imitate shadow directory etc.). And a test build every day - very light - one simple webform etc. Other than that I've got VStudio open etc. in a Terminal Service ...Show All

  • Windows Forms decreasing opacity with a timer causes flickering to simple form.

    Hi community! The first time you change the opacity on a form (through code) the screen flickers, but any subsequent opacity changes while the form is still alive are smooth. In previous posts I found out that this is because when a window is created it is in a so called "normal mode". If you set Opacity < 1 the window will be changed to so called "layered mode". This will affect this flickering. In relevant posts it is mentioned that this can be prevented, by set Opacity to 0.9 and back to 1 bevor you show the window the first time. But that does not seem to work. My form is quite simple, just a splash screen... Any more ideas Was anybody found in similar situation - Regards, George ...Show All

  • Smart Device Development Creating Shortcut for deployed projects

    I have a setup project to deploy my VS2005 mobile project to a Pocket PC 2003 device. I have added a shortcut in the Application folder for the executable. However, when the CAB file is run on the device, the program does not show up in Start/Programs folder (but it runs OK when accessed from File Explorer). How do I get the program to show up in the Programs folder on the device Probably close to 80% of all questions have been asked and answered before, search is the way to go. If you give a link, who's going to learn to search Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for life. ...Show All

  • Smart Device Development Handling WM_KEYDOWN in dialogs

    Hi, i'm creating dialog through CreateDialog() from resource ID. Platform: WM5 dialog is created but it doesn't recive WM_KEYDOWN(UP) message when button is pressed, but if i create window through CreateWindow() all works ok. Can somean help me to resolve this problem ...Show All

  • SQL Server What kind of data can I save in a SQL database?

    I need to save MicroStation "elements" along with other general information. Is that possible to do with SQL Server 2005 You have tons of options for data storage, from text to numbers, from native XML to binary data such as Word documents and Graphics. Check out Books Online for "Data Types" to read a lot more about this topic. Buck Woody ...Show All

  • Visual Basic shel_notify troubles

    Hi all, I ported a class from c# to vb, it's bassicly a class for the systray icon with balloontip it compiles and i think the code is correct, but for some reasen i got some problems 1. the std tooptip is truncated eg "hallo" becomes "h" 2. the balloon never shows up when the sub ShowBalloonTip is called I stairing to the code and slowly driving me nuts, i must be overlooking something simple the origional c# code is here I'm ghoing to cut the vb code in peaces en post them for some reason i can not post 'big'messages remco   MSFT Abel Valadez wrote: This is caused because your interop declaration for the NOTIFYICONDAT ...Show All

  • Windows Forms OLAF Clone Application Problem

    I have been looking at OLAF Clone application from the winforms 2.0 samples.I was wondering if any one could throw a few ideas about how to refresh(send/receive button) the datagrid view at run time. I tried doing a rebind(binding source) and with datagridview.refresh,but it didn't help. After rebind,I get the new dataset back,but the new data is not showing up in the view.I dont know if the old view is being cached somewhere. The sample application doesn't have any code for the Send/Receive button so I dont know how do I go about doing this thing. Thank you very much!! What's the URL for the .NET 2.0 version of the OLAF sample Thanks, Michael.   UPDATE: I found the Official Je Stegman vers ...Show All

  • Visual Studio 2008 (Pre-release) How to receive notification( exception ) on service when client die

    Hi, dears! I have no problem to catch exception on client when service die or still not exist and I'm calling some method there, but how can I receive the same on service when client die and service try to call method on callback. I'm using wsDualHttpBinding with callback methods with [ OperationContract (IsOneWay = true )] TIA Arkady > Not sure if this is by design If that by design why wsDualHttp called reliable :) - I prefer to call it half-reliable :) Arkady ...Show All

  • Visual Studio Express Editions Null Reference Error

    This is still being a problem for me.   Public Shared Sub loadcw( ByVal vary As String , ByVal num As Integer )         Dim tmp As CheckBox         Dim tmp2 As CheckBox         Dim tmp3 As TextBox           If vary = "C" Then             tmp.Name = "C" & num             tmp.Checked = True          ElseIf vary = "W" Then             tm ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Platform And the Greek Language...

    I want to ask if the XNA studio will support the greek language. I have to create a game 100% in greek langage. This game i plan it 3 years now, and many platforms has problems with the greek language. Thanks Dimitris Marizas MSN: jim_tron AT msn DOT com Bookmark the XNA GS page and check it regularly. Have you signed up for the XNA connection ...Show All

©2008 Software Development Network