jhidey's Q&A profile
Windows Forms list box and datasets
hey, how do you make it so that a list box shows the items on a dataset Thanks :) I change the dataset to the anme of the dataset and all that stuff but I got errors, but before we go any further, I am doing this for bookmarks on the webbrower I making, but is this the best way to do this for manage bookmarks, or is there a better way I could store them Thanks :) ...Show All
.NET Development [C#] file meta informations
Hello, i am not sure in which section to ask this question, so I'll ask in the most genereal one. I am wondering if is's somehow possible to extract some meta informations from files (like file type for example -- avi, doc, ppt, pdf,...) I read about MIME-type, but i'm not sure if thats what i'm looking for. Thank you for your post. FileInfo class is not the solution I am looking for. Maybe i expressed myself badly. I was wondering, if files (like documents, movies, ... ) have some META informations stored about the file type (i am searching for something more than just the extension check). ...Show All
SQL Server SQL 2005 express edition
hi, i try to import acess data to SQL 2005 express but i couldn't find the possibility and it is possible to just copy the database (SQL 2005 express) Thank you Amelie hi Amelie, Amelie s wrote: hi, i try to import acess data to SQL 2005 express but i couldn't find the possibility you can perhaps have a look at SQL Server Migration Assistant for Access ... or, if you only need to "load data" from an Access database to existing SQL Server databases, you can eventually use linked server features.. you can have a look at sp_addlinkedserver system stored procedure... you can add a linked server pointing to the Access database like following, where ...Show All
SQL Server Similar problem
Hi folks, I’m relatively new to both SQL Reporting Services as well as .Net programming. I come from a Crystal Reports background and I’m running into a problem duplicating a common technique used in my old Crystal reports. The simplified description of the problem I’m having is this… it seems that public shared variables are evaluated in the wrong order when accessing them from code in grouped tables. It seems that the group header is evaluated first, then the group footer and finally all the detail rows. As a result, if I modify a shared variable in the details section of a grouped table, that modification isn’t recognized in the group footer. Here are the details of what I’m trying to accomplish… I have added a table to my report which ...Show All
.NET Development Trying to create a user registration and sign on page
I have spent the better part of two days trying to find a quality tutorial or faq's article that gives step by step (not glimpsed over) details on how to create a user registration and sign on page for my website (not a master page just a page to add to my website). I just need a very basic registration and sign on form like every web site you see. I have visual studio 2005 and the associated database capabilities. Now I am under a huge time crunch for a sales presentation. Could someone PLEASE direct me to a simple to follow step by step how to article on how to create a user registration and sign on page (which I assume would also cover a members only page) I would GREATLY appreciate ANY help on this. I found one general tutori ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Runtime Image loading from filepath
Hi all. Im building an application that requires image content to be loaded at runtime, from paths that are not known before the solution is built and the program deployed. Because since beta 2 this is something no longer supported for some weird reason by the XNA team, despite its near incredible necessity in a variety of situations, I have built a library that basically performs the MS Build task necessary, as detailed in various forums and blogs. My question is this: My knowledge of MS Build and the Pipeline is limited, especially as far as how it works as opposed to how to use it. The code below seems to work fine and is reasonably fast. Could there be any ramifications Im not aware of Cheers. class DynamicPipeline { str ...Show All
Internet Explorer Development Explorer bar in IE7 without reboot Windows
Hi, I have an application that add a Horizontal Explorer Bar in a IE windows. That's work very well in IE6 but when I try to do it in IE7, the user must reboot Windows to have the explorer bar in the menu. I don't understand why The explorer bar just display HTML. Thanks I made the Explorer bar for IE. Otherwise, I can see it in the menu of Windows Explorer but it's not necessary (if someone know how to remove it in Windows Explorer menu please let me know ) I write in the same registry keys than http://msdn.microsoft.com/workshop/browser/ext/tutorials/explorer.asp HKEY_CLASSES_ROOT\CLSID\<GUID> HKEY_CLASSES_ROOT\CLSID\<GUID>\Implemented Categories\{00021494-0000-0000-C00 ...Show All
Visual Studio Team System Exception while creating Team Project programmatically
Hi, Has anybody tried creating a project programmatically using PCW (Project Creation Wizard). I have a code that uses vsipunit.dll and VsipUnit.UnitTestFramework.dll. I am getting following error: ---------------------------------------------------------------------------------------- Error while executing tests : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\TEMP\-evnofn0.dll'. File name: 'C:\WINDOWS\TEMP\-evnofn0.dll' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean ...Show All
SQL Server RDA Pull method not creating tables/inserting data
I can't see what is going on, this is the situation: I call the Pull method, specify the table to be affected, the query to be used, the connection string to the remote SQL server , the tracking options (On) and the Error table. The pull method executes with no errors however, no table is ever created. I don't know why, here's what I have done so far: I read the SQL BOOKS ONLINE help on preparing RDA, I set up the IIS virtual directory for anonymous access and on the connection string I send in the user name and password for the SQL server , I went into the SQL Server and grated access to the user name to the database that I am going to access and I made the user a db_owner. So, according to SQL BOOKS ONLINE I have everything right however ...Show All
Windows Forms Run Framework 1.1 and 2.0 application at the same time on the same machine.
I wonder if I have two different applications, one is using 1.1 and the other is using 2.0, can they run at the same time I work on 1.0 and 1.1 before and I remember I need to switch between the framework. But since I work on ASP.NET and VB.NET before, I am not sure the switch is only apply for web application. I also found this from the web, please look at no. 3 here. http://blogs.msdn.com/seshadripv/archive/2006/02/24/538610.aspx Thanks. Hi Terrence, Yes you can run two differenent applications at the same time. I have 2.0 windows applications running at the same time as 1.1 on boxes. hths, James ...Show All
Visual Studio 2008 (Pre-release) FlowDocumentScrollViewer, horizontal scroll, word wrap?
Hi All, how can I get the FlowDocumentScrollViewer NOT to wrap my text I put only text (with <Paragraph>) into a FlowDocument and the viewer always wraps it. I couldn't find any TextWrapping property on those classes... thanks, Steve finally I figured it out: FlowDocument PageWidth can be set to the text width manually by measuring the text. For example a TextBlock can be used to measure the sizes, here are the steps: TextBlock textBlock = new TextBlock (); textBlock.FontFamily = codeParagraph.FontFamily; textBlock.FontSize = codeParagraph.FontSize; // setup additional formatting // ... populate textBlock.Inlines with the content ... // measure, set page width ...Show All
Visual C++ Deletion using ADO is time consuming
Hello, everybody. Deleting a record from a .mdb DB using ADO (not ADO.NET), takes approx. 5 sec. This is a 100,000 records DB (500 B each record). Anybody has a clue, why I'm afraid the question is outside the scope of this forum. The C++ General forum deals with the VC++ 2005 IDE, libraries, setup, debugger, samples and documentation -- but not the use of all libraries and technologies. While most borderline issues are answered, and followed up, a great deal of these off topic questions are simply not given their fair attention. The reason is that many of the people here are specialized in their field, which may not be the same as that of the question. Seeing as this post has gone by unanswered, I encourage you to direc ...Show All
SQL Server How to check if a temporary stored procedure exist for current session?
I wrote a temporary stored procedure, before I create the stored procedure I need to check if the temporary stored procedure already existed for the current session, othewise I will get an error. I need to do this, because error will occur when we use the same script to run against one database after another. How to check if the temporary stored procedure already exist for current session I tried: select * from tempdb.sys.procedures select * from tempdb.information_schema.routines but these return stored procedures that are not for current session. I know I can use non temporary stored procedure to get around this, but there should be a way we can do it with temporary stored procedure. Environment: SQL 2005 ...Show All
SQL Server BUG? or intended that in order to move or rename reports....
...anywhere in the folder structure a person must be set up as a Content Manager at the Reporting Services ROOT (and at every level of the folder hierarchy down to the level that they are moving/renaming) Sure, you can remove them from the role in other folders where they should not be moving or renaming objects, but it seems you still have to have them at the root (and down the chain), which gives them far more capabilities than you might intend. Jeff After further examination into this problem, it appears in order for someone to move or rename a report or file, they need two things: 1) Content Manager role for the folder they are moving to/from or renaming files 2) Cont ...Show All
Visual C# Convert PDF to HTML in c#
Hi All, I am trying convetsion of PDF file to HTML file using C# which is pure desktop application. Please help me out in this. Thanking you Regards, Dnyaneshwar Hi Galin, This will definately help me. Thanks a lot for your valuable guidance. Regards, Dnyaneshwar Parkhe ...Show All
