ReportUser's Q&A profile
SQL Server Embedding literals in RDL that will come through in HTML
I am trying to create some reports that when rendered in HTML are supposed to have some interactivity built into them. I understand that there aren't any facilities in RDL itself that would help facilitate this process for me, but is there any way to embed some literal strings that will come through in the HTML The items I'm trying to finesse through are <script> blocks, checkboxes, and <object> tags. When I use the designer to put these items into textboxes, they get encoded with the HTML values (> instead of >, etc...) so that the code is displayed instead of interpreted. I thought maybe there would be a ...Show All
Windows Forms Joining two tables to display data on the dataGrid
Hi All, I have a table named Address that I show in the Grid. But I have a field in this table named CityId. Instead of showing the CityId in the Grid directly I want to display the Name of the CityId, that is kept in another table called City. The CityName will not be editable. But another column, comment of the Address table is editable on the Grid. Can anyone tell me how to implement that I can use a inner join to show the data, but the update is not possible. Thanks, Mokles Try Dataset.Getchanges. It will return all tables than changed and its relations. I think that it's the solution. ...Show All
Visual FoxPro Query help
I am trying to form a query in foxpro. I have two tables tab1 and tab2. I like to basically join the fld1 value from tab1 to the column name(named same as these values) in tab2 and get corresponding values for them. My idea of putting in a loop and incrementing the field name seems complicated. I really appreciate if someone can show light on this. tab1 column names id,fld1 values a1,200604 a1,200602 a1,200510 a2,200601 a2,200509 a3,200512 a4,200511 tab2 column names id,200604,200603,200602,200601,200512,200511,200510,200509,200508.....(goes upt to 40 columns) values a1,1,4,2,6,1,,2,3,,,2,2,1,....etc a2,1,5,2,3,1, ...Show All
Software Development for Windows Vista SQL Persistence, Loading Workflows and Workflow Properties
I have a workflow that has a bunch of properties on it. One of those properties is the name of the user that initiated the workflow (it is passed into the workflow via the Dictionary<string, object> class. I have SQL persistence working just fine (well, I can't figure out how to 'auto persist', so I am manually calling 'Unload' when the workflow idles), and I run through the list of workflow IDs persisted when my application starts up. What I want to do is access the properties on that workflow (they're public) once I have the instance ID. I just can't seem to find a way to access those properties. Anyone Ok, I found out ho ...Show All
Visual Studio Crystal Reports versions
I use Crystal Reports 8.0 in a web service (not my program). A windows program I'm writing is using Crystal Reports 8.5. After installing my program, I can't view the web reports. Any ideas ...Show All
Smart Device Development How to close the former form?
Hi. I have built a login form which links to a main form. After check user's ID and password, i use such codes: Dim newForm as New mainForm mainForm.show() Here i do not know how to close the form login form, me.close() and me.disposal() do not work well. anyone can help me thanks! Try Form.Hide(). This may not be the most elegant of solutions. By the way, why is close() not working ...Show All
Visual Studio Team System Create Team Project from existing Project
Hi, I wanted to know that is it possible to Create Team Project from existing Project. The idea is my organisation will have say 10 different projects and I want to maintain same standards , roles and project permissions in all the projects. Only thing that will change is the project name. How to acheive this Thanks in advance, Sanjoyan Microsoft MGSI India I don't think the ability to create a Team Project from an existing project currently exists. You should probably just try to get a process template as customized as you can and that should minimize steps after Team Project creation (code analysis polices, e ...Show All
.NET Development How to modify & insert into XML without loading the whole file in memory
I am working with large xml documents, over 50 MB. I know how to read it using XmlReader class and Xquery but except DOM I didn't found a way to update nodes, or insert new nodes. There is any way to use XmlDocument class and not load the whole document into memory, can I use buffers, or what I should use into my C# app to be able to load, modify, insert and then save You can load parts of XML into XmlDocument. Alternatively you can update/insert nodes in a streaming way using XmlReader/XmlWriter pair, see http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnxmlnet/html/largexml.asp ...Show All
Visual Studio 2008 (Pre-release) Bitmap won't display on Window
I've discovered some strange behavior that I'm hoping someone else has also seen. Here is my scenario: * Running February WinFX SDK/runtime components on Windows XP SP2 (and Win2k3) * PNG bitmaps images (specifically, BitmapFrames) are being serialized from a web service to a client. * The client creates an ImageDrawing, saving the png bitmap within it, and the ImageDrawing is assigned to the Drawing property of a Canvas (canvasBackground.Drawing = myDrawing). * The canvas does not display the image My team recently upgraded to the February CTP and started noticing this behavior. We never saw anything like this in the December CTP. No except ...Show All
Smart Device Development TextOut() in Smart Device Application (VS2005)
It doesn't working... Help please, I'm a beginner. Hi Riven, The TextOut function is not implemented in Windows CE (the base OS on which Pocket PCs are built), there are two possible replacements: DrawText and ExtTextOut. Windows CE doesn't have the full API set that you are used to on the desktop, which can be inconvenient at times, but allows CE to run on very hardware constrained devices. I found the information on TextOut in an article by Paul Yao: http://www.microsoft.com/msj/0598/wince.aspx . Windows CE 5.0 (Windows Mobile v5.0 for Pocket PC is based on this version of the OS, Pocket PC 2003 is based o ...Show All
Visual Studio 2008 (Pre-release) Duplex MEP issue with wsDualHttpBinding
Hi, In December CTP of WinFX, I tried implementing Duplex communication application with wsDualHttpBinding. I had gone through the following steps, 1. Creation of service contract (with session set to true) and callback contract. 2. The service is hosted in a console application with endpoint specfied in App.config file of host application. 3. My Client application is a console application that implements the callback contract. 4. My client application code also contains my service interface too. 5. I used svcutil to create typed proxy of service and client side configuration file content. 6. When i ran with whatever con ...Show All
Visual Basic Datagridview "HideSelection"
I'm using an unbound datagridview to display information, and I need to color-code certain cells to alert the user to status events. Is there a way to not have the selected row highlighted when the control does not have focus (similar to the VB6 .HideSelection property) I would explore using the DataGridViewx.SelectionChanged method to test your condition and if not met, set the Style.Backcolor to normal - else set Style.Backcolor to the row highlight color. ...Show All
Visual Basic highlight several words in a text box
hi how i can highlihgt several words in a text box(like search in msdn) how i can add methods in an activex thanks It is possible to select multiple words that are not together using the SelectedText and SelectionColor properties of a RichTextBox control. Steve Hoag ...Show All
SQL Server Instead of insert trigger on view containing identity column
I have an 'instead of insert ' trigger an a view containing multiple tables, one of the table-columns i use within the view is an identity-column. Trying to do an insert into query on the view without the identity-column (funcid) results in: insert into passw_functie (userid, functie, dienst, niveau) values(1, 'AGT', '6609', 1) Server: Msg 233, Level 16, State 2, Line 1 The column 'funcid' in table 'passw_functie' cannot be null. Providing the identity-column in the insert query results in: insert into passw_functie (funcid,userid, functie, dienst, niveau) values(0,1, 'AGT', '6609', 1) Server: Msg 16924, Level 16, Sta ...Show All
Visual Studio Tools for Office OPen Excel file to perform a VLOOKUP and close
Hello VB Folks, and friends, I'd like to try to open an Excel spreadsheet which is a matrix table of fares. I need to perform a VLOOKUP on 2 parameters passed from 2 textboxes, or two lists. (one is coming from, and one is going to)... Then I need to close the file, and show the answer(result) in another textbox. Is this something that can be done without buying Visual Tools For Office Thanks...I hope this is enough description for all of you. If not, say the word...any word! Elgee, In a few minutes, I'm going to move this to the VSTO Forum. (Visual Studio Tools for Office) ...Show All
