Brad Joss's Q&A profile
Visual Basic Getting information about locked files located on MS 2003 Server
I have a problem with an application leaving large temporary files behind on a server that are locked. I would like to find these files using VB 2005. I want to produce a report that simply list these files so I can use sysinternals tools to delete them. They are always located in the root folder of logical drives. It seems that all I can do is throw an exception when I write anything to scan the servers logical drives. Is there anything in VB 2005 that I can use to spot these files and maybe get information on file size, etc. Is there something within Visual Studio I can leverage Thank you for any suggestions. Well, that might be your ticket... I'm not what exception your getting or how ...Show All
SQL Server variables in data flow OLE DB
I'm storing a sql command (could be an SP call or simple select) that I would like to pass into the "OLE DB Source" container in my data flow task. If I choose Data Access Mode: SQL Command from variable, I get an error saying there is a data source column with no name. I've fought SSIS pretty good up to this point. I realize you need to "initialize" variables & expressions in the control flow ahead of time if you want to access them in the data flow. But I was kind of hoping that all I would need to do in this case would be pass a SQL command into a variable and access that somehow in the data flow without jumping through any hoops. Is this possible This is a great forum btw, thanks, Phil ...Show All
Smart Device Development Pocket PC application Development Strategy
Hi, I am searching for a solution for connecting Pocket PC application to Desktop MS Access DB. Currently my Palm Device application communicates with Desktop MS Access DB via custom conduit using HotSync Manager. Now I am planning to develop same application for PPC 2003 / Windows Mobile 5.0 which should communicate with existing Desktop MS Access DB. I have no clue, where to start with. May I request from Pocket PC developer community to give me some valuable suggestions/opinion on giving a start to my development activity. Do I need to write conduit similar to one that consumed by my palm device application. I would appreciate any suggestions/links/samples on this topic. Thanks Santhosh ...Show All
Visual Basic Visual Basic Express application stops before showing form on another computer
I have now tried 3 separate applications, one being just a simple form with no underlying code at all. All three applications will run fine on my Dell desktop (XP) and Dell laptop (2000) but will not run on my Toshiba laptop (XP). I do the development on my desktop so I cannot run debug on the Toshiba laptop. When I run the applications on the Toshiba, the process explorer shows it starting and immediately stopping. Placing a few log statements in the code, I noticed that the application is stopping when the form is trying to display. Load form is working fine but show form does not seem to be. This must be a configuration issue with the Toshiba as it is the only computer that does not work. However, I have done all MS ...Show All
Visual Studio Express Editions How do I save data
My name is Elliott Bowles and I am relativley new to programing with visual C# Express Edition. I am currently writing a simple customer tracker program which uses a table in SQL Server express. I have the program set up and everything works, except the auto-generated save button. This button, when I click it, does not save any of the data that i have changed/added. Please could someone give me some help to fix this bug. I basically want to save what has changed in the fields in the application window (Name, customer number, customer since:... etc) and any new customer entries to the database. This button is in the toolstrip that is autogenerated when I drag the data source into the application window. thanks for all the help ...Show All
Visual Studio 2008 (Pre-release) Problem with generic list nested
I have a SOA type WCF application with netTcpBinding that uses messages (request, response) to communicate client with Server, I use entity classes (Entity) and a collection ( EntityCollection ) that inherits from a generic list ( List < Entity > ). [ Serializable ] public class Entity { private int id; public int ID { get { return id; } set { id = ...Show All
Visual C++ Problem with character array while using calloc or strcpy
Hi Folks, In one of the application I am trying to allocate memory to a character array through calloc(), its giving me with some junk character at beginning 4 bytes, rest of the array will be fine. similar problem when using memset() , memcpy() and strcpy(). It seems there some problem with compiler setting as all the standard library function cannot fail. Using Visual Studio 2005 editor to build the code. Looking for a particular problem description and a possible solution for the same at the earliest. Regadrs Ritheesh have you checked whether it's failed to allocate memory or not Using calloc, it will initialize the allocated memory to 0. there's no chan ...Show All
Windows Forms System.Windows.Forms.ToolStripOverflowButton query
OverflowButton is associated with ToolStripDropdownItem, can this dropdown item have one more overflowbutton, is it possible There can be only one overflow button in a tool strip, the ToolStrip control implements it. ToolStripDrownDownItem.OverflowButton is an implementation detail to link the buttons in the overflow button dropdown list back to the overflow button. Don't mess with it... ...Show All
Visual Studio Express Editions forum comparisation..
Hello, I'm sure I'm in the wrong forum with this thread, but that's only because I want some attention of you 'VB' people at the moment. I've been 'studying' the VC++ forum here, and I noticed that the average 'top poster' in that forum posts about 50 posts a month.. In this forum, I see 'top posters' with about 120 posts a month Now I'm not sure about this one, but aren't here some coders who also know some VC++ that could sometimes have a look at the VC++ forum to see if they can't help I'm asking this because I posted a question a couple of days before, and whereas I would have had about 10 reply's in this forum, I don't even have 1 in the VC++ forum.. This could be because it might be a difficult question, but it might ...Show All
Windows Forms combobox autocomplete on double click
using vb2005 i have turned on autocomplete on my comboboxes with SuggestAppend method. it all works ok, its just that i'd like to have the suggestappend window pop up if i double click on the blank area on the combobox. much like clicking on the down arrow, but im trying to mimic for example browser behavior when i double click on an entry form textbox and my history of typing appears (this happens in firefox for example). thanks somebody replied me on another forum saying something about the dll function SHAutoComplete from "shlwapi.dll", which apparently is what's called when vb net opens the SuggestAppend window. problem is he didnt know how to call it for my requirements. does anybody have an ...Show All
Internet Explorer Development How to detect tab-change in IE7?
Hi I'm wondering if anyone knows how to detect when a tab changes in IE My toolbar has to detect when a) A tab changes site (This I already do by Navigate and DocumentComplete) b) When you change between tabs (this I have no idea how to do). I know there is a DWebBrowserEvents2::WindowStateChanged I maybe could use but I have no idea how to use it The only thing I've been able to even think about up until now is to create a thread that runs every second and checks what tab is visible, if it's not the one that was visible last check then fetch the document URL location from that, not that I've even gotten that to work very well... So I was hoping someone might be able to help me out, maybe show me some code on how to achieve knowing when th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Any Complete n00bs Besides me?
Hi guys. I am a complete n00b when it comes to game programming. I work in the web hosting business and work with ASP.NET a lot. So some stuff looks familiar. But C# is a whole new monster. This release of XNA by Microsoft (thanks by the way) has inspired me (and my small team of two) to make this cheesy side-scrolling game idea we've juggled around for years. I'm not sure we'll ever finish, but it's more of a hobby than work. So, my question... Are there any other true new folks besides me Anyone totally new to this "game programming" world I like it so far. I'm doing tutorials like mad. Soon I'll actually be able to start my game You will find that you are not alone in your travels... Just remember to ask questions ...Show All
SQL Server Report Model On Top Of Analysis Services Cube
Hello, Creating a report model on top of a analysis services cube is very straight forward, but is it possible to modify that model such as adding folder structure Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Document of Help
The XNA Game Studio will run with C# code. Now, will be a document of help and tutorial for learn to use XNA Or Will be a tutorial video for learn to use XNA Another question is, What's others programs are for make games and what code the programs use Maybe, Will be tutorial videos and a big Document of Help by the release of the XNA Professional Studio or the real XNA Game Express(I mean no beta version). This video can be made by the people of http://www.LearnVisualStudio.com/ or www.Learn-XNA.com . Also the videos and the document of help must contains helps and definitions about XNA Framework and others thing, this will happen like visual studio, when they have released the real version of ...Show All
Visual Studio Team System Is there a way to select the executed test cases from the database when generating report?
I am generating a test case report for our project manager in VSTS. I can set the filed "workitem type" as "test case" to get all the cases. but i do not find a field i can use to get the executed test cases. Anyone can help me Thanks! Thank you for your reply. Product Studio is a tool we used to manage bugs and test cases before. We are considering to use VSTS to manage bugs and test cases now. I found a tool in toolbox to import the test case from Product Studio into TFS database. I did not find a tool to import test result from PS into TFS, so the test result in TFS database is still empty yet. My question is, can i select the executed test cases from TFS database if the test result DB is empty From yo ...Show All
