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

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

jdang

Member List

Kevin Rodgers
Lenoire77
h1
Number10
Vladimir Dumchikov
billqu
jpgetty2win
forrestcupp
PeterVrenken
enric vives
flash.tato
sprofaner
Buddhist
marrigre
Jakein2006
Dirk Haest
David Cowell
dustinto
venp
dj1s
Only Title

jdang's Q&A profile

  • Windows Search Technologies WDS 3b2 - file type list is truncated

    On one of the machines where I have installed the second beta of WDS 3, the list of file types on the advanced page stops at "mda". No extensions below that in the alphabet even appear, nor can I add them manually (when I do so, it seems to work but the the added extensions doesn't stick - the next time I open the file types setting page, it is again truncated). Running on XP home SP2 - and by the way, all the registered file types show up properly when viewed from the menu in an Explorer window. Thanks for any help Thank you Edward. Indexing Options CPL expects that all subkeys under HKCR give Administrators either read/write (default) or read permission. I wonder what could have stopmed on default permissions Tha ...Show All

  • Windows Forms wouldn't the folder change when the app is updated?

    I found only one article about creating desktop icons, but that article (MSDN) ruled out creating desktop icons. Is this possible with ClickOnce or not I know windows installer will, but we have a Smart Client and want to provide a way to create a shortcut to the app on the desktop so people could get to it quickly. Any suggestions Thanks   David, Thanks for the response.  I wrote my own version of no-touch deployment to get around the limitations of version 1 no-touch and now it looks like I can't just use point and shoot behavior of Click Once because MS doesn't feel as though I should use it that way.  I'm sure there are ways to get around the limitations that MS put i ...Show All

  • Visual Studio Adding a percent column to a Matrix Control

    Hi there. I have some data that I want to display on a report that looks like this: PropertyName LandAllocationAmount, LandAllocationPercent, BuildingAllocationAmount, BuildingAllocationPercent, PPEAllocationAmt, PPEAllocationPercent, TotalAmount, TotalPercent I want to display the data in a matrix control as there can be multiple PropertyNames. I can get the Amounts to work fine, but I can't modify the matrix control correctly to display the percent correctly. Here is what I want it to look like: Property1 Property2... Land 4,000,000 20.00% 3,000,000 15.00% Building 15,000,000 75.00% 16,000,000 80.00% PPE 1,000,000 5.00% ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xact xna 3d audio?

    Hi Can someone tell me how to create 3d positional sounds using xact with xna I cant find anything in the reference and documentation for xna. Thanks Just found out I can't even have any 3d sounds when using xna. hah how retarded is that! Its analogous to if the next Direct3D version only allowed use of 2d sprites I really dislike xact, i cant believe how basic and limited it is, its the only thing i can use if i want xbox compatibility. Direct sound is fine, but if it is becoming deprecated in favour of xact then its a bit worrying. Microsoft can you fix xact soon pls Thanks ...Show All

  • Visual C# Thread Question!

    I have a question in regards to populating a datagridview in a thread. Well I noticed that its take longer if I retrieve the data in a seperate thread than executing it in the main thread. So my question is can I populate the datagridview in the main thread so it can be executed faster and update the label to the record count if yes how please thanks Here is my code, this way runs a lot slower if I just execute everything in the main thread, what's the most efficient way to do this thanks a million private delegate void ProcessCallback ( ArrayList msg); public ArrayList dbRecordsHolder; private Thread thdHandler; private void ProcessFunction ( ArrayLi ...Show All

  • Visual Studio How the let Studio 2005 break in source code if there is a C++ first-chance exception?

    I am running my application from Studio 2005 and I can see the first-chance exception (C++), but it doesn't break anywhere in source code. As a result, I can't find out where is the place in my code cause the exception. 'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Apps\DataConsole\WebServer\ReleaseMinDependency\IdsDoWebServer.exe', Symbols loaded. 'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Exports loaded. 'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Exports loaded. 'IdsDoWebServer.exe': Loaded 'D:\CurrentVersion\Support\IdsErrorHandlingSupport.dll', Symbols loaded. 'IdsDoWebServer.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_dec6ddd2\mfc80 ...Show All

  • Visual C++ Disposing a connection

    Hello everyone, I'm writing a data access object, and when I compile the attached code I get the following error: error C2039: 'Dispose' : is not a member of 'System::Data::SqlClient::SqlConnection' c:\windows\microsoft.net\framework\v2.0.50727\system.data.dll : see declaration of 'System::Data::SqlClient::SqlConnection' You should invoke the destructor, '~SqlConnection' instead What's the correct way to dispose a connection Thanks a lot... Center^ CenterMsSql::GetItem( int id) { SqlConnection^ conn; try { conn = ConnectionFactory::CreateConnection(); SqlCommand^ cmd = gcnew SqlCommand(GET_ITEM, conn); cmd->Parameters->Add( "@cntId" , SqlDbType::Int); cmd->Paramete ...Show All

  • Visual Studio Express Editions Is their a value for a line wrap?

    I am making a simple program that takes a textbox and splits it into 2 different text boxes with random characters in each. It fills in the missing characters with spaces. So if you print out both of the new text boxes and put one on top of the other you can see the whole message. The problem is with the line wrap in the original textbox. The new textboes don't see this and the message can get screwed up at the line feeds. I am just wondering if their is a char value for the line wrap so I can put it back into the other text boxes. Ex Private Sub Button1_Click ( ByVal sender As System .Object, ByVal e As System . EventArgs ) Handles Button1 . Click Me . TextBox1 . Multil ...Show All

  • Visual Studio Windows Installer

    I can't find a general windows installer forum so I'm posting here. (hint hint) Here is my question. Is there a way to query the system to determine if a patch has been applied to an MSI with a script Thanks ...Show All

  • SQL Server Offline/remote backups

    Hi What is the best way to perform daily offline/remote/off-premise backups of our websistes Sql Server 2005 database I've looked into using SSIS but for one reason or another am having serious problems with this. Ideally we'd like to be able connect over the internet and/or lan and pull the entire database down in one go. Our db is ~600mb so isn't major. We used to use Sql Server 2000's DTS and this worked well, but I'm having a real hard time using SSIS to do the same so was wondering what the other options are Many thanks Ben Log shipping is not supported in SQL Server 2005 Express. If you want, you can emulate log shipping by doing a job that backs up the transaction log on the p ...Show All

  • Visual Basic visual basic

    hi can anyone help me i have just started using visual basic i am doing some work for college i have been ask to design a progra asking the user to enter their name ,address town postcode and phone number i have to create 5 tet boxs foer the information when i click for the second text box should it say text box two Not to be a thread-jacker here, but it is my understanding that when naming controls the proper way to do it would be the following: If you wish to name a textbox something along the lines of Address Box or Name Box you would do the following: addressBox nameBox etc. However, this is just my understanding and that is limited. I have also been taught depending on what you are working on/in th ...Show All

  • Windows Forms Validating data in a bound datatable

    I want to validate data for a datatable bound to a datagridview. To cancel an edit for bad data, from what I can tell from the MS docs, I can set the columnerror or throw an exception in the handler for the columnchanging (or rowchanging) event. I tried throwing an exception and that works fine when I do the edit programatically. Ie, try > add a row of bad data > catch exception. But where do I catch the exception when bad data is entered into the DGV The dataerror event of the DGV gets errors from ConstraintException, NoNullAllowedException, and ArgumentException - this works fine. Is this supposed to get the exception that I throw too I am throwing an ApplicationException. Is this right I can catch the exception right afte ...Show All

  • Visual Studio Team System Programatically modify the list of checked work items in a check-in?

    Hi, when writing a custom check-in policy deriving from PolicyBase, I can access the currently associated work items from the this.PendingCheckin.WorkItems.CheckedWorkItems property. What I would like to achieve however, is to force a specific work item to being associated with the checkin. The CheckedWorkItems property does have a setter, so my first thought was to resize the array and insert a new WorkItemCheckinInfo there, but it turns out the setter throws a NotImplementedException... So my question is basically, how do I modify the list of checked work items I've searched high and low using Reflector for any clues, but got none so far The short (and disappointing) answer is that you do not have an ...Show All

  • Smart Device Development regarding the use of thread in Smartphone

    hi , i have been in developing application in smartphone using c# .. i am using visual studio 2005 .... for my application i have loaded the resoueces using the following code ... Stream s ; Bitmap img_btYellow; s = this.GetType().Assembly.GetManifestResourceStream("Widgets.res.avblue.png"); img_btYellow = new Bitmap(s); s.Close(); i have loaded 8 '.png' images through the above code using the same stream ' s ' . the application is running fine in emulator .... but it is showing out of memory exception in the exe created inside the bin folder ... even i tried using singleton object for all the classes , that i have used .. but it s still showing the same exception .. could anyone help me in resolving this issue . ...Show All

  • SQL Server Querying XML from SQL 2005

    Hi, We are storing the entire xml of an infopath form as a string alongside structured data in a sql 2005 db. The project is a reporting one and we need to retrieve data from the infopath forms for display in the reports (along with structured data). We need to be able to build a query which retrieves both structured data from the tables and xml data from the xml string (also within a table). So the question is: can you query an xml string stored within a table from with a stored proc If so can you combine this query (I'm guessing this will be XPath) with a standard sql query to return both types of data The MS devs (yes actual MS employees) I'm working with don't so it will be interesting to see if anyone can suggest a solutio ...Show All

©2008 Software Development Network