jxl98c's Q&A profile
Visual Studio Express Editions Directories?
Hi all I feel really stupid posting this question, because I know I saw it somewhere before, just couldn't remember where! Here's my situation: ------------------- I already have: - a listbox named " List1 " - a " Form_Load " sub which calls the " loadorrefreshdata " sub I need some code to do the following: - Get all the sub-folders in a specified directory (" testdir ") - Get the names of these subfolders (not the Directory.GetDirectories, as this returns the full path eg. "C:\Program Files\demofolder1\demosubfolder", where I only want "demosubfolder" as name. - Populate List1 with these names What would be the best way to do this Thanks in advance! Johannes ye ...Show All
Visual Studio How to debug in your own model?
Hello everyone, I should apologize if there were some similar discussions here. I have a basic question. I used DSL tools to build a new solution, then i executed, and modeled another system based on the solution, here i want to use the "Debug" command on the menu to make the system running, just like the example "WinzardUIP", generating a new window.. I have read the document in the project, but still did not get how to start it. Do i have to build another project too and how can make the new project integrated Any suggestion or related work are welcome! Thank you very much! Di Hi, Assuming you have the T4 templates in the debug project you can generate the code by hitting the "Transform al ...Show All
Visual Studio Load in Print Preview
I am using Reportviewer to produce various local reports for my windows application. Is there any way to set the reportviewer to open in print preview, rather than the full screen, list view All comments/suggestions welcome. Yes. Instead of calling ReportViewer.RefreshReport to view the report, call ReportViewer.SetDisplayMode(DisplayMode.PrintLayout). You should replace the RefreshReport call because SetDisplayMode will do it implicitly, ...Show All
SQL Server SQL Express Reporting Services data extension problem.
I am running SQL Express Advanced addition on an XP pro box. The install went cleanly, and I have no problems creating and publishing reports that use a SQL server data source, however when I try and publish a report that uses an oracle data source I get the following error. An attempt has been made to use a data extension 'ORACLE' that is not registered for this report server. The report works fine withing the preview pain of Visual Studio, and it publishes fine within SQL 2005 standard edition. Can someone please tell me how to register the data extension for ORACLE in SQL Express. Thanks for your help Robert Dennis To answer my own question the below link shows that you can not connect to Oracle Data ...Show All
Visual FoxPro Exporting to Excel in multiple spreadsheets
I have my program exporting to excel just fine, however here lies my problem: Some of the databases are reaching the excel spreadsheet's 65,536 record limit. I actually had something working to where it would copy the records up to 60,000 (or whatever number you specified) - when it reached this limit it created a new spreadsheet in the workbook and started copying from there. There was one HUGE problem with it though - it was slower than molasses in winter. It took roughly 10 mins just to copy over 20,000 records becuase it was doing everything one record at a time. I felt this was a bigger problem than the 60,000 limit so I just started using this instead: copy to &cFilename fields &cFields type xl5 The problem now is that ...Show All
Software Development for Windows Vista Visual Studio 2005 Workflow Designer slow responsive
I am running Windows Vista Ultimate RTM on my laptop running at high resolution 1900x1200, don't know if this is the cause for my problem. With the workflow designer open Visual Studio runs very unresponsive. When I click to open the toolbox it opens very slowly, when I drag an activity around the designer, the transparent image for the activity cannot follow the mouse cursor, then when I drop an activity on the designer the toolbox autohides again very slowly, takes 5 seconds to hide in a very shocking way. Very annoying and unworkable, i thought this would be fixed in the Sp1 update for Vista, apparently not. Is this specific to a workflow project or does is also happen in a win form app Type "Performance Information and To ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# Express SP1 - Need to install?
I see that the first Service Pack for all the Visual Studio editions has been released. As users of GSE/C# Express, should we be installing SP1 I'm guessing Yes, but not seen anything in these forums about it so far. http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx Visual Studio 2005 represents one of the most significant developer tools releases since the introduction of Visual Studio nearly a decade ago. It offers all types of developers a wider spectrum of development possibilities and a greatly advanced design experience. By expanding the Visual Studio product line to include the Visual Studio Team System and the Visual Studio Express Editions, Visual Studio 2005 delivers a c ...Show All
Visual Studio Express Editions How long is free VB express?
hello. A question please. If I download VB express edition, how long is free this version Thanks... cheyenne is correct...here it is from the horses mouth http://msdn.microsoft.com/vstudio/express/support/faq/default.aspx Pricing 10. How much will these products cost Effective April 19th, 2006, all Visual Studio 2005 Express Editions are free permanently. This pricing covers all Visual Studio 2005 Express Editions including Visual Basic, Visual C#, Visual C++, Visual J#, and Visual Web Developer as well as all localized versions of Visual Studio Express. SQL Server 2005 Express Edition has always been and will continue to be a free download. 11. Was ...Show All
Visual Basic Validate textstring as DateTime
Hello , Can this be done in VB2005Xpress Form elements: one TextBox, one Label (TextBox is used to receive Birthdate input, Label displays "<1", "1" "the age which is calculated from Today's Date - Birthdate" or " "). The age formula and the If statement for "<1", "1", "age" and " " is done. Here the TextBox is the choice for Birthdate entry. It is the most cost effective. DatePicker is excellent choosing a future date where the user want to be sure that the Day picked out do not fall for example on Sunday. Click event should be not necessary to display the result in the Label. Birthdate correct form is: ddMMyyyy Cases: 1. User type lette ...Show All
SQL Server Subreport with a matrix
Hello, I got a report with a landscape format, and inside it i got some subreports, but two of them are subreports with matrixes. Those two subreports are making the page to be printed into 2 pages, but the second page is always empty, is there a bug, a misconfiguration or misusage of the subreport Because instead of having 42 pages i will have two times more. How can i avoid this Using borders i noticed that it is the subreport that grows much more than when it is generated individually, since individually it fits in one landscape page, as a subreport it needs 1, 5 that makes it 2 pages, and the last one always empty Thank you Hello, What renderer are you using Does this occur with each of them or only when using a certa ...Show All
SQL Server When To Use A Function And When To Use A Stored Procedure.
Hi, I thought that procedures do not return a value: well they only return a 1 or 0 depending on whether the procedure executed correctly. Functions are what you're supposed to use when you want to get a result set of some sort: ie a table or a scalar value. Apparently that is not the case becuase you can return values from procedures. I've attempted to find out what the differences are between the two and when it is appropriate to use a procedure and when it is appropriate to use a function but I'm still unsure. Can someone please tell me the difference. Thanks. Przemek Ok, so using stored procedures as my main interface I understand. I am a little unclear what UDF and CLR UDF's are. When I l ...Show All
Software Development for Windows Vista Endless state workflow, performance problem, Very common problem in real system
We use state WF to handle our order processing. Usually an order has 5 states: (1)Script (2)Approved (3)shipping (4)Closed (5)Canceled The following actions move the state transforming between the above states. Approve (1) a (2); undo approve (2) a (1);Cancel (1),(2) a (5); close (2),(3) a closed; undo close (4) a (3) Let’s have a look at action “undo close”. It exists in a real world system. Because user some time still need undo-close an closed order to ship again. (Maybe because he just regret). My question is: which one is completed state of this workflow (4) Closed or (5) Canceled It seems there are no completed state of this workflow. If so ,when can I delete the persistence state If I set closed-state( ...Show All
Visual Studio Express Editions dataset and datagrid problems
i have a db (access file) i draged a datagrid and connected the thing to the dataset in wizard it automathicly gave me this line in my load function this .workersTableAdapter.Fill( this .db1DataSet.Workers); now i see the rows inside the grid, but i cant seem to change them (when i reopen the program, the rows are the same they were) if someone here knows the subject and can give me some pointers that could be great (if that someone has an email address, icq, or msn, even better, maybe i could even send it to them if they would rather see it with their own eyes) well firstly you have accept changes being called before doing an update() which wouldnt work. so comment out the acceptChanges() before U ...Show All
Visual Studio Team System Creating new project Error
--------------------------- Microsoft Visual Studio --------------------------- CREATE DATABASE permission denied in database 'master'. --------------------------- OK --------------------------- This error copied from MessageBox when create new project . The project template is SQL Server 2005 Environment: Visual Studion 2005 Team Suite SQL Server 2005 Developer Edition - the instance is name YUKON Windows XP SP2 Regards When you create a new database project, we create a database in the instance you specified for design-time validation. It sounds like you don't have permissions to create a database in that instance. If you open the Tools menu and clic ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 D-pad issues
Alrighty, I'm using a new usb dance pad that just came out along with the new ddr, and using the xbox 360 controller driver, you can use it with a pc. I've figgured out that the arrows correspond to the d-pad, but I've been having some issues with that. A simultanious up and down (because normally you wouldn't be able to) does not register as anything, and a simultanious left and right (same as above, normally you can't) registers as a diagonal bottom-left. Is there a way to fix it so that it registers correctly Since XInput on the 360 and the PC should operate the same I don't see any reason why this shouldn't work. The DPad controls show up as 'buttons' in XInput so I don't see why they can't be down at ...Show All
