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

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

NetDragonKing

Member List

L0n3i200n
Radith
Anand Raman - MSFT
Anil Narayanan
programmer01
ASaleem
StarRrr
UNODevelopment
Talyrond
ims.com
NewC#
Kb2yht
tstrob
theTroll527
Zoetermeer
DavidCeder
Behnam Fagih
gkostel
R Suresh
andyr2005
Only Title

NetDragonKing's Q&A profile

  • .NET Development Help with writing rows to Excel please.

    First, I am a VB/ADO newbie so type S L O W L Y when answering please. I have collected and modified some code that watches folders and when a file arrives in a watched folder it writes the file name and date to a row in an Excel spreadsheet using Insert into. It works OK until I open the spreadsheet and delete rows. The next time the program executes (new file arrives in folder) the new row in the spreadsheet is added where it would have been if I had not deleted the old rows. For example, I delete rows 1-7 from the spreadsheet, save and close it, a file is added to a watched folder, when I open the spreadsheet the new data is on row 8 with rows 1-7 empty. How do I make it use the first empty row or reset whatever is keeping a count on us ...Show All

  • SQL Server Foreach endless loop

    I'm having a problem where I'm using a Execute SQL Task to retrieve a dataset and storing that in an object variable. Then on success of that execute sql task I use a foreach loop task to go through the dataset and do 2 tasks inside the foreach loop. When I execute this package I have ~12 records in the dataset however when I get to the foreach loop in the 2nd iteration it keeps repeating it. It acts like it is stuck on the second record (tuple) and never goes on. I'm using an ForEach ADO Enumerator in the foreach. I've even set a breakpoint on each iteration and no task fails in side the foreach loop. I'm completely perplexed why it will iterate to the 2nd record but get stuck there in an endless loop. I've tried this on 2 different compu ...Show All

  • Visual C# upload a file to VSS

    Hi, Is there away to create a new project (folder) and upload new files to VSS database, or upload new files to an existing project. Not checkin a file. But upload a new file. Thank you   when using the word check- in , it means that the file(s) are in vss database alrady and in order to checkin the file(s), user needs to checkout the file(s) before. because if you try to checkin the file(s) that are not checkout, it will not work. And I am trying to upload a new file(s) that is not located in vss database.   Thanks, ...Show All

  • Visual C++ Is minidump same for win2k and XP ??

    Hi All, Is the ".dmp" file generated by using the MiniDumpWriteDump( ) function different for different OS. What i mean to ask is :: Would the .dmp file work if we created it on Win2k and try to analyze it on XP or vice-versa One other query is the MiniDumpWriteDump function has one of the parameters as "Minidump type". This variable specifies what sort of minidump to be generated. The list of values that this variable can take is shown in this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/debug/base/minidump_type.asp Are these listed minidump types common for all the supported OS like win2k, XP etc.... Or the support for different minidump type differs from OS to OS... Thanks, - Navin ...Show All

  • Software Development for Windows Vista Change the Merit of a DirectShow filter at runtime

    Hi, I am using the IAMMultiMediaStream::OpenFile method to build the graph automatically. When a certain CODEC is registred and a .mp3 file is invalid (facts that I do not have control on) the filter freezes my program has IAMMultiMediaStream::OpenFile goes in infinite loop. SO I want to disable that particular filter. Appart from unregstring it (which is a bit violent) I started to experiment the Merit change on runtime. For test purpose, I changed the 2nd DWORD of the FilterData registry entry of that particular filter and it happens that the computer must be rebooted before the merit change takes effects. I can not find a method to change the merit change on runtime so that changes take effect immediatly Someone ha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture Filtering Problem

    I have just recently converted my MDX project over to XNA, now I have slowly ironed out most of my problems but one that remains is the texture quality. My game looks the same as the old MDX one does when mip filtering is not enabled. Is there anything special in XNA that would stop the mip filtering from working or any kind of problem that would cause a similar look on the textures. It's like something is overriding the setting, but I cant figure out what it is. When I create my textures I use Texture.FromFile(), I use that so I can support loading other texture types in my texture manager. I have tried using Texture2D specifically, it made no difference. In the past I have not passed in the TextureCreati ...Show All

  • Visual Studio 2008 (Pre-release) Custom transport - protocol transport

    Hi, I'm trying to understand the building blocks that go into a custom transport. For my specific scenario I need to build a custom TCP transport to support different message framing scenarios. However, I was wondering where one would implement high level protocol logic. For example, let's say you have simple text messages like: LOGON| REQUESTSOMETHING| HEARTBEAT| etc. Now, for example the client sends REQUESTSOMETHING| before a LOGON| thus you need to reject the message and every x seconds you want to send a HEARTBEAT| .. etc... where would this session logic be implemented Thanks, Tom I guess it's just because it's a sample. Have you looked at the UDP transport sample That has async implementations for ...Show All

  • Visual Basic Error message: module containing it is not loaded in the debugging session

    Hi I've been having the same annoying minor problem ever since I started using VB.net and was wondering if this is just a feature or whether there is a way round it. The issue I'm having seems to concern shared members of classes. When I try to access one of these member variables or functions to see what their current value is at run time (F9), I get the error message: <membername> is not declared or the module containing it is not loaded in the debugging session. My code is trying to do this: databasePath = Path.GetDirectoryName(txtDatabase.Text) Why can I not see what databasePath is going to become by hitting F9 Thanks for your help! Thanks for your reply. Don't think it's a custom short cut, ...Show All

  • Windows Live Developer Forums Add-Ins and Stored Procedures ?

    I am trying to use an Add-In to query a SQLServer database via stored procedure. My code works fine in my Windows Forms test application but throws a system exception when run in the Add-In. Is there a restriction on add-ins being able to use System.Data.SqlClient Was thinking of wrapping a web service around the data query otherwise - any known issues / restrictions with that approach alternatively ...Show All

  • Visual Studio Express Editions VB Express 2005 Build a Program Weather Tracker

    I publish the Weather Tracker application. When I double-click the setup.exe, it start the installation. It fails with the error message "Weather Tacker.exe has a different computed hashthan specified in the manifest" How do I resolve Try this: IN VS2005 in your soultion explorer window 1> click "Properties" a new window will open 2> click signing on the left tab row 3> then place a check in the box that says "click once manifest" 4> then click the "create test certificate button" 5> then rebuild your project 6> then publish it. I dont know why this works but its the only way I can get my apps published in VS2005. I neve ...Show All

  • Visual Studio Team System How to get data From TFS Work Item field!

    Hello, I am working with TFS using ASP.NET, c#. I would like to get Data from TFS for those work item depend on workitem type is bug, Scenario, task, ... State ( Active, Closed...), Type (API, High level Requirement, Security...), Triage (Approved, Investigate..), Priority(1,2...), Severity(Critical, high,...), discipline (Architecture, development...). Is there any API to do this or is there a way to do this at all Please help! Any answer would be greatly appreciated. Thanks in advance. Ddee Hi Vic, To be more specific, I try to do this: wiTypeLB.DataSource = m_store.Projects["Projectname" ].WorkItemTypes[ "Requirement" ].FieldDefini ...Show All

  • Software Development for Windows Vista Changing audio device sample rate via PKEY_AudioEngine_DeviceFormat does not work

    For a certain audio device that we are distributing, the default sampling rate is not working correctly and needs to be changed. This can be done by the end user via control panel: Vista allows to configure the sampling rate of a sound device: Context menu of speaker icon in system tray, menu entry "Recording Devices" Choose handset or headset and click on "Properties" Go to tab "Advanced" By default the sampling rate for a capture device is "1 channel, 16 bit, 44100 Hz (CD Quality)" We cannot live with the situation that all users have to do this configuration so I was looking for a way to do this programatically. Vista provides some new API documented in "Core Audio APIs in Windows Vista". A property store (IPr ...Show All

  • Visual Studio Express Editions resize web report viewer control on size to report

    How to resize report viewer control on size to report. I have a report created in VS express edition and I set property SizeToReportContent to true but report viewer don't resize. How to resize report viewer control to size of report. This group is for the install and registration problems, you should post you question in the language of choice groups. Also remember that with most of the addins and controls you can also post in those groups as it will not be just an express problem or question. ...Show All

  • Visual Basic How to upload files

    Hello I got a problem with uploading files. Look at the code: My.Computer.Network.UploadFile ("D:\file.txt", " http://www.onh1986.com/file.txt ", username , password ) And I set permission to "777". And it couldn't to upload the file. What's problem, please Thanks & Regards Once again: there will nothing be uploaded until you write some server-sided-script, which does the upload (manages the incoming POST). Since you use a HTTP request, it's like calling the url in a webbrowser. You can't call a txt-file on your server and expect this to be uploaded or overwritten - otherwise this would be a very big bug. Take a look at http://de3.php.net/manual/de ...Show All

  • Visual Studio T-SQL Debugging on VS2005/SQL2005

    Hello, I can't seem to debug an SQL stored procedure using VS .Net's 2005 debugger. When I Step into stored procedure the breakpoint turns to a question mark and  says "The breakpoint will not currently be hit.  Unable to bind SQL breakpoint at this time.  Object containing the breakpoint not loaded". VS2005/SQL2005 are on the same machine running Win2003 Sp1/R2 Thanx for the help Have you fixed it I've the same problem, may be there are some hints for you: http://forums.mi ...Show All

©2008 Software Development Network