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

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

Polity4h

Member List

mgagne_98
NagySaNa
Waiman Li
Sweed
hazz
Lisset
Rick_Parker
hipswich
The Continental
curiousss
eldiener
nguyentanbao
Trisha1802
enric vives
Will8754
glooey
hariarla
stargirl88
esiboda
Andrzej Martyna
Only Title

Polity4h's Q&A profile

  • Visual Studio Team System Multiple Concurrent Builds

    I've noticed the error: TF42045: A build for the team project: ProductionSystem is in progress on build machine. On each build machine, only one build can be active for each team project. Use a different build machine or try again later. I don't like the idea of my users receiving this message. Is there software that will allow me to support concurrent builds on one machine Is there software that will allow user requests to enter a queue as opposed to simply rejecting users If I decide to have multiple build servers, is there software that will send user requests to the available server so that the user does not have to try one server at a time to see which one is free Hi - these are go ...Show All

  • Software Development for Windows Vista Tracking Profile

    Hi, I designed a sample application which implemented both SQLPersistenceService and SQLTrackingService. Then I created 3 buttons: Button A - To list all persisted instances with PersistenceService.GetAllWorkflows , then show their CurrentStateName by using StateMachinWorkflowInstance: StateInstance = New StateMachineWorkflowInstance(WorkflowRuntime, instance.WorkflowInstanceId) Button B - To list the Instance Tracking History of the selected instance (from the Persisted list) Button C - To list the Activity Tracking History of the selected instance (from the Persisted list) Everything works well, so I assume the Persistence and Tracking services work well. Then I added a tracking profile and a user track point to ...Show All

  • .NET Development With TableAdapters can I get the connection string from a custom method instead of using the app.config file?

    Hello, Is there a way to have the TableAdapter get the connection string from a custom method instead of using the app.config file (and still have the QueryBuilder in the XSD designer work) We are using Typed DataSets and TableAdapters in .NET 2.0. Instead of using the App.Config file we have our own method which returns the connection string. So, I can programmatically say something like: myAdapter.Connection = new SqlConnection(Config.GetConnectionString()); And the code will work just fine (but not the XSD designer). So, there are 2 issues. 1) We have to set the connection every time we create an adapter or we will get a runtime error (I could live with a compile time error, but ...Show All

  • Visual C++ question about CreateFile and FILE_FLAG_WRITE_THROUGH

    Hello everyone, Suppose I have a file created with FILE_ATTRIBUTE_NORMAL attribute. I think it means attribute FILE_FLAG_WRITE_THROUGH is not enabled. Is my understanding correct And I think if I do not enable the FILE_FLAG_WRITE_THROUGH attribute, even if flush operation (function call) will not *truly* dump data to disk. Is my understanding also correct So, my question is, when will the data be dumped to disk -- only when we close the file thanks in advance, George Thanks einaros! einaros wrote: George2 wrote: Do you mean even if I only invoke write API (without flush) when in FILE_FLAG_WRITE_THROUGH mode, the OS buffer and the physical ...Show All

  • Visual Basic How to set the install path for application

    I noticed that my app doesn't install to the Program Files directory as VB6 does it. Instead, the wizard creates a jumbled multi level directory and sticks your app in there. How can we change that Thanks. If your publishing your program then it will be installed into the local settings folder in the users home folder which usually is C:\Documents and Settings\'username'\Local Settings\Apps\2.0\Data, If you are going to publish then you dont need to use a setup project because as far as i know you wont be able to decide where it will get installed when you publish (i might be wrong like i said i'm new too). If you want to decide where it will get installed then you add a setup project to your projec ...Show All

  • Visual C# COM Interop Question

    I have a VC6 ATL COM Object that accepts a BSTR as an input parameter in one of it's methods. The COM Object expects an ascii buffer to be embedded in the body of this BSTR and uses a call to SysStringByteLen to dynamically create an appropriately sized single byte char array for holding the extracted contents based on the results obtained from interrogating the size prefix of the BSTR. The COM interop wrapper generated from this dll defines this parameter as a System.String that gets marshalled as UnmanagedType.BStr. I am trying to use this method from managed code (C#) but am having difficulty creating an ascii encoded string parameter from my binary data (a byte array). Is there anyway to do this in such a fashion that I can pass binary ...Show All

  • Visual Studio Express Editions I can't Install Visual Studio Express Editions

    I have recently decided That I would like to learn C# or C++ (I haven't yet decided). I have a disc I received with a magazine, with all the editions on, so I found It and tried to install the Visual Studio Express Editions. I had previously installed them, when I first got the disc, and then later (running out of hard drive space) I tried to uninstall them. The uninstallation failed, and I eventually gave up, just deleting the files, then using a registry cleaner. When installing them recently, the only options I got where reinstall and repair. Is there a way I can avoid it detecting an installation, or a way I can remove the traces it is detecting Thanks for any help. Does repair not work U ...Show All

  • Visual Studio 2008 (Pre-release) Memory problem when refreshing ListView with ADO .net

    Hello, I have a listView with GridView, that is binded to a dataset. First, what is the correct way to update the listView, for now I use the fill method of the adapter to fill the dataset again. adapter.fill(Dataset.Table); Second, When I'm doing this, the memory keeps increasing. Is this normal Thank you Filling the DataTable again should be OK. There may be a better approach, depending on how you're updating the data. If you are simply adding or deleting rows to the DataTable directly, the ListView should update itself automatically - no need to refill anything. In contrast, if you're changing the original database from which the table was filled, you'll need to call Adapter.Fill to l ...Show All

  • .NET Development Handling lost connection(s) better

    Hi, Anyone got any good advice for the following issue. I have a standalone application running on approximately 12 machines. Every 60 seconds these attempt to contact a WebService on the central server which updates a (long) time on the server so that the server knows the standalone program is still running. I need this knowledge for other actions done by the users via the main WebApplication... Anyway I am getting occasions where the connection to (Server)WebService and standalone application is breaking. I cannot always confirm (or the user cannot always confirm the reason for this). When these breaks happen an exception occurs which force the shutdown of the standalone application. However can anyone suggest a better ...Show All

  • Visual Studio Tools for Office PIA version weirdness

    Hi; This is for others that might hit the same thing. As I understand it, when you link to a strong named DLL for a program, the program uses that specific DLL and no other version or one with a different hash. That was done to stop the old DLL Hell problem. Except for Office AddIns ( IDTExtensibility2 , not VSTO in our case) If your AddIn is linked to say VBE 11.0.0.0 and is then run on a system that also has VBE 12.0.0.0 on it - Word will have your AddIn linked to the version 12 DLL, not the version 11 one. It seems to work ok for us in this case. But keep in mind that strong naming basically is ignored for the PIAs for your AddIn. And that could cause problems. (It's also very weird that strong naming is just thrown out the ...Show All

  • SQL Server Import from Data from Microsoft Access

    In SQL Server 2005, Im trying to append data to tables which already exist. Im importing the data through the import wizard. The source from is Microsoft Access with no username and password. The source to is SQL Server 2005 using OLE DB Provider SQL Server with the login information of the schema I wish to use. I click through and the tables appear in the source. When I select all, they appear in the destination but they appear with the dbo. prefix which would regard them as new tables since the tables dont exist under that schema. I can click on the first destination table drop down text box and see all the tables under the schema there suppose to be under but its not the default. There are a lot of tables and I don't feel lik ...Show All

  • .NET Development PInvoke Failure (Couldn't think of a better name)

    PInvokeStackImbalance was detected Message: A call to PInvoke function 'ScreenScraper!ScreenScraper.mInternet::InternetCheckConnection' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. ==================== My Code ============================ Public Const FLAG_ICC_FORCE_CONNECTION As Long = &H1 Public Declare Function InternetCheckConnection _ Lib "wininet.dll" _ Alias "InternetCheckConnectionA" ( _ ByVal lpszUrl As String, _ ByVal dwFlags As Long, _ ByVal dwReserved As Long) As Boolean Fun ...Show All

  • Windows Live Developer Forums Custom Layer Past Zoom Level 17?

      Hello people,    I have set up a custom Tile Server to serve up some Hight Detail tiles as a custom layer: I have set the VETileSourceSpecification.MaxZoom property to 18, as my TileServer can produce tiles at any magnification.  It all works fine at normal zoom levels, but once I soom past Zoom Level 17, where VE Tiles stop - then there appears to be just vast amounts of grey/gray Anyone have any ideas on how to allow VE to render my custom layer at a higher zoom level   I don't care if the normal tiles don't display.  All I need is for my custom layer to render. e.g. //Add layer tileSourceSpec = new VETileSourceSpecification(); tileSourceSpec.ID = "HighDetailLayer" ; tileSourceSp ...Show All

  • Windows Forms Two Questions ...

    I am using VB 2005 to develop a simple windows app. Question 1: The program draws a number of rectangles of varying colors on a System.Drawing.Graphics object ... later in the program I want to determine the color of a particular rectangle whose center, say, is at form coordinates X,Y. I am not sure how to do that. Question 2: When I run this program I see the strip across the top of the app's window with my menu items (File, Edit, Help) but the strip is not blue nor does it have the minimize, maximize/minimize or close buttons in the upper right-hand corner (nor can I drag the lower right-hand corner to resize the window). I must have set some property to cause this but I cannot figure out how to fix it. Thanks for any help to either o ...Show All

  • Visual Studio Team System Solution File, file format changed

    It looks like the solution file format has changed from VS 2005 to VS 2005 Team Edition. This is despite that the format version is 9.00 in both versions. This is a rather big problem in our company because we're several developers working on the same solution. The solution file is under source control and changes ought to be merged between branches. This is, however, not feasible with this format change and a solution with 45 projects. Of course the best solution would be to use the same VS version. But what can we do until all have upgraded I contacted someone on our Web Project team and discovered that this is a known issue and should be resolved in the Orcas release of Visual Studio. My contact ...Show All

©2008 Software Development Network