lmttag's Q&A profile
Visual Studio Express Editions Data grid view controls
How do i get the data grid view box to work in my application. For instance save data to a file and open data from a file, and get the copy, cut and paste controls to work in my application. e.g. the copy control in a RTB = rtb.Copy and the copy control for a html editor is HTMLDoc2.exeCommand("Copy"), what is this command in the data grid view box Can any one help The datagridview control is as asp control and is not a forms control. The datagrid control is a forms controls and is usually bound to datasources such as an in memory table or XML not flatfiles. So before you begin with a datagrid control there has usually been a database designed and in place. ...Show All
Visual C++ How can I get the ProgID of a COM dll if I did not have the source code of the COM ?
How can I get the ProgID of a COM dll if I did not have the source code of the COM I appreciate your help. You can use OLE/COM Object Viewer to find the ProgID. It is an external tool available with Visual Studio 2005. Some tools can be found in the Tools menu bar by default. Others such as OLE/COM Object Viewer need to be added. Please see http://msdn2.microsoft.com/en-us/library/76712d27(vs.80).aspx ...Show All
SQL Server Header and Footer in Report Builder
I recently installed SP1 for SQL2005 and was happy to see that I'm now able to use images in Report Builder, nice! However, what I would need even more is the ability to edit the header and footer of the report from Report Builder. I know I can do it in the Report Designer, but my users out there doesn't have access to it. I need the header for the following: Company logo, todays date and page numbering. I tried to save an .rdl file to disk, edit it in a text editor and inserted a header that way. My thought was to let the users open a pre-made "template.rdl" from disk instead of creating a new. However, as soon as I opened it and saved it again in Report Builder, the header was removed. Is there possibly any other way t ...Show All
Visual C# Added a .Net Reference, error message "the type or namespace cannot be found"
Hi All, I am sorry to bother you all with a stupid question, but I installed a new custom .Net control. I then opened up one of the example projects and tried to compile. I am receiving the same message, "the type or namespace cannot be found". VS05 throws up an exclamation symbol next to the reference. I got the same problem, when I opened up a project of my own, added the reference and then added a couple of lines to use the new object. How does the build engine (compiler, linker, whatever) know about the location With VB6 the installation of a COM object and then registering the control is all that is needed. Do I need to do something different here Thanks in advance, Marci Weinberger Adding ...Show All
SQL Server Numbering the SQL Query statements
Using the TOAD application for Oracle, I am able to number the SQL query lines for readability. Can the same be done for SQL Server 2005 Yes... In Server Management Studio, choose Options from the menu bar. Expand "Text Editor", Expand "All Languages" and click on General Under "Display", check the "Line Numbers" box... ...Show All
SharePoint Products and Technologies Cell Formatting Task Pane
Anyone know how to get the Cell Formatting Task Pane to appear I closed it and now have no idea how to get it back! If you select the cell in the Quick Tag selector in the top bar of the design view, do you see the Data/Cell Formatting option I don't have a copy of the program handy at the moment so maybe I am just deeply confused. ...Show All
.NET Development get data from access and save it into a new excel file using vb 2005
Can some1 give me a small sample of how to do this My method is to automate it when i click a button, but upon clicking, i find that the new excel book does not appear in c:\temp. ...Show All
Windows Forms including dll in setup
Hi, I've finished doing this appplication but i'm having problem with the deployment. In the designer I've added acrobat reader activeX and VLC player activeX. When creating the setup it tells me to check for the dependecies if they are added to the project. How do you add them Setup was created and installed to other computer were ok, but when running the program it show "System.InvalidOperationException". Whats the problem Unless you add more diagnostics to your app (such as describing what your code was doing) it's difficult to narrow this down to a solution. It might be reasonable to assume that your crash is related to missing dependencies rather than just a bug, so if it is a dependency then is it trying to use VL ...Show All
SharePoint Products and Technologies Sample required For Simple Scenario ?
Hi all I need to provide a demo with the following features Want to have a wotkflow (say 2 level approval) start from sahrepoint and then send email to person to whome the arproval is assigned now from outlook the approval can approve or reject the request. Can any one share some code sample for this simple scenario. Best Regards Razi ...Show All
.NET Development Low performance on ADODB .Save in Web Application
Here is the code example: rs_Recordset.Save(sr_Stream, ADODB.PersistFormatEnum.adPersistXML) Response.Write(sr_Stream.ReadText) The bottleneck is the .ReadText property. For 3000 records it takes about 15min locally. The exported XML is used in PivotTable so it has to be generated as adPersistXML. Data fitering is done on the query level, so caching won't help. Are there any suggestions on how to improve performance on that Thank you in advance... ...Show All
SQL Server BLOB in T-SQL
Hi, can anyone help ,me out here with some design consideration reguarding importing of BLOB data to a SQL server 2000 using T-SQL statements I want to make an import of some documents which are stored in a Access database, to an Ms SQL server 2000. The documents are stored in the access database as a OLE Object, by now I thought of using the base64String function to convert the data from the access field and write it to the T-SQL statements which will written in a text batch file. And then I apply the SQL Convert function something like: INSERT INTO testBin VALUES(convert(image,'base64sting_encoded')) go Does this work Is it correct what I am doing Thanks. Access OLE Object column d ...Show All
Visual Studio 2008 (Pre-release) Create new instance of Database all the time, or keep around?
With the access to the underlying data store being abstracted and relatively hidden from us, I find myself wondering how to manage connection pooling and scalability. I have a static utility class that provides all the methods that generate queries. At the moment, it creates a singleton instance of the Database class (e.g. MyDatabase() , the one created by Sqlmetal) (this is for LINQ to SQL, not EF). Should I be creating and disposing of the database instance within each data request method, or should I be trying to maintain the reference to the static instance of the db My gut instinct tells me to do something like this : public static List<MyData> GetSomething(params) { using (Database db = new Database()) { var x = from .... ...Show All
Windows Forms Adding a dragged menu item icon to a listview , What's wrong ???
Hi simply here is the situation : dragging a menu item that contains an icon from any menu and then dropping it on a listview WITH THE SAME Icon I handled the menu item MouseDown event and listview DragDrop event , in the DragDrop event I add the menu item Image to an imagelist which is 32 * 32 , and finally assign this image to the newly added listview item. the Surprise was that :- *- the icon is reversed !!! any help please Mohamed Hi Mohamed, Your code snippet is unreadable and doesn't compile. I tried to change it into something easier to parse, guessing that the "&" in your snippet shouldn't be there: Private Sub ListView1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Form ...Show All
Audio and Video Development Tools and Resources for Authors
I'm a professional web developer interested in iHD/DVD authoring. At this point it is pretty difficult to get going due to lack of tools and resources and documentation. I am proficient in xml and javascript, but this is a slightly different bird for sure. What I am trying to figure out is - are the lack of resources a symptom of being early to the process, or is it a symptom of the content authoring industry (proprietary thinking) I used the validator to fix some of the resource issues, however I'm not sure how to solve the missing content items: ERROR: Could not find a part of the path 'G:\iHD\PerfTest 051130\HVDVD_TS\TITLE001.MAP Are you saying to just edit out any calls to load resources in \HDDVD_TS ...Show All
SQL Server optimize insert to access DB
Hi, I'm using access tables to store my data. to retrive data I use jet odbc engine in c++. I want to insert a large amuont of records (about 20 mega records) to my database in the fasts way i can. if i use sql syntax (insert into table ()....) it's takes for ages (about 500 records per second). if i'm writing a csv file and then use import (via access) it's much faster but here I have two problems 1.I dont know how to use the access import tool from c++. 2.I dont think I can distributie the access import tool with my product. so my questions are : 1. Does any know any tool that insert records in an optimize way 2. How can I use the access import tool in c++ 3. Can i use the jet engine to import csv files thank ishay ...Show All
