Software Development Network Logo
  • VS Team System
  • Windows Vista
  • .NET Development
  • Game Technologies
  • Visual Basic
  • Visual J#
  • Smart Device
  • Visual FoxPro
  • Windows Live
  • Visual Studio
  • Visual C++
  • Windows Forms
  • Architecture
  • SQL Server
  • Visual C#

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

flocke

Member List

Logan1337
NopV
BarryIOS
Tom2005
n.somu
MarkDeibert
nelson rodriguez
cbarru1
jcooper
Steve Couch
Hames
BMcCool
Raymond Chen
BasiaMucha
stevefrench
Paris42523
sjb
Abdul lateef
kalkumar
itmatters
Only Title

flocke's Q&A profile

  • .NET Development Multiple Connection

    Dear All, In my application I have to open multiple database connection at a time to perform a task.I am using .NET 2.0 and sql 2000 for the same. Is there any way to perform the above task on the same connection I have multiple connection and the related command and reader objects and I am only closing the db connection in the finally block. Is that sufficient or should I close the reader as well .Also is it a suggested way for naming the variable like cnn1,cnn2,cnn3…cnnN in the above scenario. Please suggest an optimized solution with an example would be really appreciable. Thanks in advance Multiple connec ...Show All

  • Visual Studio 2008 (Pre-release) What happened to ServiceHost.Throttle

    The title says it all really.  The ServiceHost generic used to have a property named Throttle which allowed setting of no. of concurrent threads and so on, but this has now disappeared/moved. Anyone know where it went David It's been a week since I posted this question and still no replies.  Perhaps I didn't explain why it's a problem. When writing a service using MsmqIntegrationBinding, the new ServiceHost appears to read every message out of the queue, start a thread for each and try to process them all at once.  This is NOT the desired efect.  For starters it makes the priority queue feature of MSMQ useless - yo ...Show All

  • Visual Basic VarPtr

    If anyone knows the replacement function or method for varptr (vb6) in vb 2005 please let me know. http://www.google.com.au/search hl=en&safe=off&q=varptr+.net&meta = More specifically http://www.codeproject.com/vb/net/singleinstance.asp has this: <P>There are two operations required - set the <CODE lang=vbnet>lpData</CODE> member to point to a <CODE lang=vbnet>String</CODE>, and retrieve a <CODE lang=vbnet>String</CODE> from it. In VB6, you would use <CODE lang=vb>VarPtr</CODE> and the <CODE lang=vbnet>RtlMoveMemory</CODE> API (a.k.a. <CODE la ...Show All

  • SQL Server ODBC connections and SSIS

    so im trying to connect to an odbc source and use ado.net to pass some sql queries and then write back into this odbc connection. i am aware that ssis does not have direct capabilities to do this, but i wanted to see if anyone knew of generic help docs/url's that show how to do this i am new to ssis, and am just trying to get general information. See Douglas post here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=70469&SiteID=1 The code is also in SQL Books Online. ...Show All

  • Visual C# Fill a shape

    I have a shape like this shape , and I want to fill it with a color, can someone help me Greets, DIII I don't know why the GDI FloodFill function is not offered in GDI+. You could pinvoke it, or ( assuming you're still working on this drawing program ), you could accumulate an array of points as the user draws, and then use the FillPath function ( from memory ), which takes a Path built on those points and will fill it as well as draw it, with the brush of your choice. ...Show All

  • SQL Server system.NullReferenceException error

    Anyone encountered this error message when trying to access Report Server - One of my IT people simply added a new (permission) group to Report Server and everything crashed. I get the following error when trying to open the default server page ( \\servername\reports ): System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.GetExtensionConfigurationInfo(String extensionType, String extensionName) at Microsoft.ReportingServ ...Show All

  • Visual Basic DirectX Samples complaining

    A few days ago I've installed the directx9.0b sdk. I looked through the vb tutorials, and the first 4 seemed to work well. But the rest didn't work, the compiler complained alot about the directx library not containing stuff. Any idea what's going on here I hope I get some answers quickly, Michel EDIT Sorry, the tutorials work, but all the Samples don't. I would hazard a good guess that 1. You havent referenced the DirectX dll - which you need to do by going to the project and Add References 2. Havent specified a imports statement with the correct namespace and are not fully qualifying the ...Show All

  • SQL Server Cannot Open User Default Database (error 4064)

    Hi, SQL Server 2005 installed on my computer. i was trying to make a login page with VS.2005 pro. But i got some errors on Website Administration Tool. Whatsoever, i registered a database (aspnetdb) . Then, i think i made my default database to aspnetdb. Something went wrong and i decided to delete aspnetdb and start whole procces from the begining and i did it. AAANDD WHOOOLA. I got this error: Cannot Open User Default Database, Login Failed Microsoft SQL Server, Error 4064 Is there anyway to change my default database to "master" again Or simply will i uninstall all the sql server 2005 ( f you say uninstall, answer this:: Will be any pro ...Show All

  • Smart Device Development How to use multiline button text?

    I see that in vs 2005, writing in vb, that it can now apparently handle multiline button text. On the IDE, in the box that asks for my text, I can click on the drop down, and it opens a window where I can type in something like: Main Menu (having pressed my Enter key after the word 'Main') and it shows exactly like I want it on the IDE. (Actually, I did not have a blank line between the two words--it's just doing that in this text editor). And, when I look at the generated code, it shows where it included the carriage return and line feed. The problem is that when I deploy the program, or run the emulator, it does not show both l ...Show All

  • Visual Studio Team System Data Tier Problem

    Hey, I wanted to create a test environment. So, I installed everything as I was supposed to, and then I backed up the production DB and restored it to the testing environment. Then, I used TFSAdminUtil and specified the new data tier. Seemingly, all went well - no error messages, I even checked up on one table (subscription) in TFSIntegration and it pointed to the new data tier - great. However, today, I was startled to find that changes I made to work items on my testing environment changed things on the production environment! Then I took a quick look in the TFSWarehouse to find out what was the last work item id and foun ...Show All

  • Visual C++ Semaphore Vs Critical section

    What are the advantages of critical section over semaphore or vice versa A semaphore can be used accross project boundaries. a critical section not. A semaphore can allow multiple processes/threads to gain access to it (as defined in lMaxCount), a critical section can be locked only by one thread. In most cases a critical section is much faster than a semaphore! ...Show All

  • SQL Server Problem with <Select a value> in report parameters

    Hello, Everyone please, could you make clear how can I avoid appearence of <select a value> in drop downs at all. thanks not sure if this will work, but could you set a default value of a zero length string or null value ...Show All

  • Software Development for Windows Vista Communication between 2 different workflows

    I have a host application (a windows service) and 2 different types of state machine workflows. The workflow1 executes a certain amount of workflow2 and waits for the workflows to return. To do this they need to communicate between each other. I thought workflow2 could send an event to workflow1, in order to tell him when he's finished. Everytime a workflow2 returns it send this event to workflow1, so workflow1 can check if the started workflows are all finished. But how can I send events from one workflow to another Any ideas, which dont use wcf Thanks You can accomplish this by having a local ser ...Show All

  • Windows Forms Make column width autofit to width of grid - can it be done?

    Hi all, I have a question and your help will be greatly appreciated. I have a datagrid (don't we all!) and a three column table as its datasource. I can fix the width of two columns to say 100px but then I would like to create a function whereby the third column is effectively 'liquid', ie, any remaining width to fill in the grid can be& ...Show All

  • Windows Forms Customizing DataGridView Selection Behavior

    I'm currently trying to use a datagridview to allow the user to select multiple items from a table. While the multiselect functionality will work for what I want. I would prefer to have the program only change the selection of the current cell when a cell is clicked. Or to basically have the program act as if the user was always holding down the Ctrl key for selection purposes. Additionally, I would prefer if I could also restrict selection based upon the value in the cell being selected. Looking around the net, I found vague references to being able to disable the ordinary selection behavior. However I have not been able to find ...Show All

©2008 Software Development Network