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

Software Development Network >> a.d.m's Q&A profile

a.d.m

Member List

Cory6132
Mark Goldstein
Clobes
Ravencraft
JeffS23
wiscon
Suncho
Zulbaric
JLB4536
Yustme
Zeldacat
DavidThi808
K::ot???ter
Catalin Zima
Prashant_Rai
Cammyr
RJBriscoe
daraneko
Deleep P
nhsfreak
Only Title

a.d.m's Q&A profile

  • Visual Basic Date time

    I need to pull the filecreation date and have it in a format of mm-dd-yyyy. I can use creationtime to get mm/dd/yy hh:mm:ss and then a toShortDate to get mm/dd/yy How to replace the / with - Thanks! Hello Ryan. You will want to actually use the .ToString method on your DateTime which allows you to use custom format specifiers .   Dim FormattedString As String = MyDate.ToString("MM-dd-yyyy") Documentation to link above should be followed so you remember where to go in the future. Hope this helps. ...Show All

  • Windows Forms How to add User & Pass to ConnectionString in app.config?

    Hi, I excluded the sensitive data (username-password) from my ConnectionString , how can I add it from any C# class when needed i.ex: string username = textbox1.Text; string password = textbox2.Text;   Is it possible that you keep your connection string available at application level(for user session) and use the userID and password for respective users (I mean you keep the modified connection string available for all the database calls for that user after user enters UserId and password) ...Show All

  • SQL Server exec a ssis pkg from java or .net application

    hi, does anyone know if an ssis pkg can be executed from a java or .net application If running a .net app from a citrix server, would any componenets need to be installed like they had to be for DTS in SQL 2000 I keep trying to find some info on this and can't find anything. Thanx, Mike ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. all in one shader = better performance?

    Again a question from an unexperienced user who wants maximum performance ;) I draw really a huge number of vertices and started with a simple position/normal/color vertex declaration, which worked fine. It allowed me to draw anything in just very few indexed vertices batch calls (about 20) Now I want to use some textures, too, to give the whole scene more life.I was looking at some of the normal approaches: you pass the texture to the shader and draw all vertices using this texture, switch the texture and or effect and draw the next batch, the vertex declaration would change to a position/normal/texture/(probably)color combination. As far as I can tell, if I would use 20 textures, this would in the worst case increase the number of ...Show All

  • Microsoft ISV Community Center Forums updatable subforms : access 2000

    Hi, I have a main form and a subform where the data is displayed as a result of a join query from the SQL server 2005 backend. the requirement is I need to edit the data displayed in the subform which is displayed as a datasheet. I populate subform data by merely setting the form recordset to that of my ADO recordset. When I try to update subform fields I get a recordset not updatable error. How do I go about solving this issue I tried to set the form's UniqueTable property but it didn't seem to work. Do I have to programatically populate the subform fields without using the recordset property If so how do I go about it - displaying it as a datasheet Thanks, Tarun ...Show All

  • Software Development for Windows Vista How to set the program run as administtator using API?

    my boss ask me to develop a program to modify the compatibility, who knows the API please tell me, Thanks a lot. Well, you can include a manifest with the application that will elevate the entire program to run with Admin privileges or you can split out the pieces of the program that require admin privileges into a COM object and then invoke that object with the API CoCreateInstanceAdmin() . ...Show All

  • SQL Server Trigger in the Subscription database - Transactional Replication...

    Hi, We are Using Transactional Replication with Updatable Subscription in SQL Server 2005 SP1. Subscription Type : Pull Subscription Mode : Continuous Running Mode Conflict Resolution Policy : Publisher Wins. I have a table " Sample " (which is part of replication) and it has got 3 triggers. All the triggers are set NOT FOR REPLICATION . The first trigger Updates a column of the "Sample" table in which i inserted a record. The second trigger inserts record in to another database table and also updates a column of the table "Sample" . The third trigger does not affect any tables, it is written for some manipulations with variables. In this scenario when I insert a ...Show All

  • Software Development for Windows Vista Bug in comtl32.dll v6 or am I just missing somthing here?

    I recently added support for XP-themed controls to an MFC based application. As part of this, I added a application manifest requesting comctl32.dll version 6 or later to get the XP-theme aware versions of the common controls. As a result of this change I'm getting a crash inside comclt32.dll related to a virtual listview control. The code using the listview control has worked fine for years with earlier versions of comctl32.dll. I've been able to extract the problem into a small test case, and I'm still getting the same crash. The relavent details: The application must be running under Windows XP (original, SP1 or SP2). The application must have an application manifest requesting version 6 of the common controls library: name= ...Show All

  • Visual Studio Team System New link types

    Hi Is it possible to construct new link types for the link control. As default the following types are available: Changeset, Work item, Versioned item, Test result, Hyperlink. I would like to create a new type called Dependency, which references another work item. When specified as a new link type instead of a simple work item link, I can generate a dependency graph of all tasks in an increment. Regards, Thomas Ardal Yes, it is possible. Check: http://blogs.msdn.com/narend/archive/2006/10/13/how-to-extend-linking-and-workitem-ui-with-custom-link-types.aspx ...Show All

  • Software Development for Windows Vista Forecast workflow behavior

    I there a way to get the workflow running forecast with out actualy run it Assuming I'm using sequenctioal workflow, I limit the amount of forecast steps and I set defualt values for the rules evaluation. Is it possible Thanks Orna ...Show All

  • .NET Development More on Multithreading and Sychronization

    Since Threads of a higher priority will normally preempt lower priority threads, Is there a means of guaranteeing that a section of code executes from beginning to end without preemption What if the higher priority thread wants to access the section of code which it preempted. You will have a deadlock situation. No, it is not guaranteed, as I know. you should use normal critical sections or locks if you want to work with threads. I can try to explain. When you start a thread with a higher proprity, of course, it will have much more processor time then others. But if you have a thread with, let's say, normal priority it will wait some time. Then, if this thread is not able to have a processor time ...Show All

  • Visual Studio Team System DBPro Trial Edition

    We are using the Trial Edition of DBPro in the Team Suite Trial Edition. Can anyone tell me how long before the DBPro trial edition expires I know the Team Suite trial edition expires after 180 days. Thanks - Amos. ...Show All

  • Visual Studio Express Editions Drag Objects

    I want to drag a button on a windows form, it has to move with the mouse. But i don't know how to do this. I searched Document Explorer but it's hard to find what i want. Please help... Bogas Corp Thanks! This works great! Exactly as I wanted! ...Show All

  • SQL Server SQL Server does not allow remote connections

    Hello , The problem is that we are having Problem while making the remote Connection to the Sql Server 2005 Basically We are having a problem connecting to SQL2005 through a package remotely. when we try to connect to a remote data base, we get the following error [Connection manager "CRA LRRS Development DB"] Error: An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: " An error has occurred while establishing a connection to the server. When ...Show All

  • Windows Search Technologies Vista Machine with Office 2007- Outlook not finding emails. Instant Search/Indexing issue

    Hi, I have search everywhere for a solution and still I do not seem to find a solution. Outlook is not finding any emails (instant search). I think it is not really indexing anything. Vista search works perfect (seems like it). The index says it is done (outlook is included on it) As I receive emails, the list of pending items to index just grows and grows. I am using pop accounts not exchange. (I already checked the instant search options, the indexing thorugh control panel). Any ideas. I spent the last two weeks searching for a solution, and I have read and follow the suggested solutions from microsoft, but still is not really finding anything.. so frustrated!. Thanks for reading this, and I hope somebody can help me ou ...Show All

©2008 Software Development Network