Ieuan0928's Q&A profile
Visual C++ Anyone able to array txt file into cocrrect form?
i am a newbie on C++,since i have searched so many books and question ppl asked here, but i can't solve this problem yet, i need some help.does anyone able to help me out i want to array the txt name 1.txt and save it in 2.txt with new array form. vocabulary1 other form of vocabulary definition1......................single line definition2.....................single line definition3.....................single line definition#.....................single line </> vocabulary2 form of vocabulary2 ............................and so on, many words continue like that with </>separate from 2 vocabularies the request is array the txt1 into like this: vocabulary1|other form of vocabulary1 def ...Show All
SQL Server Problem with PDF Exports in RS 2000 SP2....
Hello All, when we export to pdf, keeptogether functionality is not working properly in Table.Is this fixed in RS2005 Does anyone know when rs2005 will be released . Thanks in Advance. Hi, Keeptogether is not working for report export to PDF in VS2005... I have a 4 column report and the List (with embedded List) does not wrap as I expected with Keeptogether=False. Am I doing something wrong Is there a trick I'm missing. Thanks.... Frank ...Show All
Visual C++ How to make a CEditView as read-only but the background colour still in white color
Hi , I am developing a dashboard sort of application.which is a split window containing three rows and one column. For which I need a message view ,in the bottom section , that is the third row. in the message view, the application will displaying some messages to the user , like output window in the Visual Studio IDE I have derived the message veiw from the CEditView. I want the CEditView to be Read-only .when i made the CEditView readonly using the following statement GetEditCtrl().SetReadOnly(TRUE); in the OnInitialUpdate() function of the view class, the background colour changes to Windows Form view colour. but the customers want it to be in white colour. same as of output window in the visual c++ IDE can some one help me in thsi ca ...Show All
Visual Studio 2008 (Pre-release) Readonly dependendy property
Hello, I have defined custom readonly dependency property (below). I need to bind to it inside XAML (in my example it is bound to Label.Content), but it does not work... It looks like it never goes thru Get accesor, because in my custom dep. property is still default value... What is wrong Any suggestions Thank you RostaB My XAML: <Window x:Class= "Test.WindowTest" xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x= "http://schemas.microsoft.com/winfx/2006/xaml" xmlns:own= "clr-namespace:Test" Title= "Test" Height= "300" Width= "300" > <Window.Resources> <Style TargetType= "Button" > <Setter ...Show All
SQL Server SQL Server time zone?
I don't know what is going on, here's the error message, could someone please answer thanks Server Error in '/' Application. This is a wild stab in the dark, but I suspect the problem is as explained in the error message: Procedure or Function 'aspnet_Membership_CreateUser' expects parameter '@TimeZoneAdjustment', which was not supplied. ...Show All
Visual C++ Delete a certain tree node
hi, now i facing a problem which i do not know how to solve it...:( My binary search tree structures stores a double number in every node, whereby a higher number is appended as right child and a less or equal number is appended as a left child. Now i want to write a function which deletes the node with the highest number in the tree. I started the function as follows: [code] template <class Item> void bst_remove_max(binary_tree_node<Item>*& root_ptr, Item& removed) // Precondition: root_ptr is a root pointer of a non-empty binary // search tree. // Postcondition: The largest item in the binary search tree has been // removed, and root_ptr now points to the root of the new (smaller) // binary search tree. Th ...Show All
Visual Basic Graphics Flicker in Program
I am sure this has already been asked, yet I couldn't find any such thread that helped my case. In my game the character and objects flicker occasionally. The character flickers from being animated a lot, same with the objects. This is my paint code for the game: Private Sub DrawGraphics() Dim intCounter As Integer Dim background As New Bitmap( Me .Width, Me .Height) Dim rectClear As Rectangle background = Me .BackgroundImage 'Clear First If strCharacter(2) = "YesClear" Then 'the rectangles keep track of the graphic locations rectClear = rectCharacter(0) rectClear.X = rectClear.X - intAnimaLeft rectClear.Y ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox deployment does not appear in 'My XNA games'
After I deploy my game to Xbox it works, but doesn't appear in the 'My XNA games' list. Games that I deployed previously have appeared OK. Any idea why this might happen There isn't any reason as the 360 uses the information in the programs assemblyinfo.cs file to determine what it displays in the xna launcher. If you don't have an assemblyinfo file, then in theory this would mean that no information was displayed in the launcr, just a selectable space that you could use to launch your program. Not sure why you would delete the assemblyinfo file though. ...Show All
Visual Basic Query Filter Question
Hello everyone, been gone for a while(surgery), but I am back now, anyhow I am using the query builder and I am wanting to filter a table, How do you take from My.Settings.BKSM1 and use that for the filter in a query builder My.Settings.BKSM1 is the users name that is saved from a textbox at the opening of my app. Davids Learning I hope one of these helps Dim constr As String = "data source=. ; initial catalog=Northwind; integrated security = true" Dim conn As New SqlConnection(constr) Dim da As New SqlDataAdapter( "Select * from employees" , conn) Dim dt As DataTable = New DataTable da.Fill(dt) Dim dv As Data ...Show All
Visual Studio Tools for Office Consuming a Web Service from Word 2003: VSTO or VBA + Web Services Toolkit?
I am trying to work out whether I should use VBA or VSTO to consume a web service from a Word 2003 document. The functionality is as follows: A Word template is originally created using Word 2003 or Visual Studio (if necessary for VSTO solution). We need to be able to modify this template using Word 2003. The template will use XML tags as a basis for mail-merge. A Word document is generated 'server-side' by reading the Word template, populating the XML data islands using VSTO, then streaming it back to the user via the browser. The user will modify the document then 'post' its contents back to the server by calling a web service via a 'button' in Word. We've tried a VSTO prototype but we have had problems with deploying it. While it runs ...Show All
.NET Development templateCoulmn rendering
Hi There sing System.Diagnostics; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace Localization { class LocalizedTemplateColumn : TemplateColumn , ILocalized { #region Fields and Properties private string key; private bool colon = false; public string Key { get { return key; } set { key = value; } } public bool Colon { get { return colon; } set { colon = value; } } #endregion protected override void RenderContents(HtmlTextWriter writer) { HeaderText = ResourceManager.GetString(key); if (colon){ base.Text += ResourceManager.Colon; } base.RenderContents(writer); } } } the problem in ...Show All
.NET Development using with try-catch or try-catch-finally ?
What do you use using statetment or try-finallly With the using statement... what is the best way to catch a exception Now, i'm using a try-catch-finally for the connection and using for the commands, dataadapters, datareaders ... etc.., but i don't know if is the best way. Regards. Hi, To my opinion, when using connections and stuff, I still prefer the try catch blocks and dispose everything in the finally block. How can you otherwise get detailed error information since using is only for disposing objects The using statement is good if you have a single object that needs to be disposed after using it. I think it has a lot to do with personal preference. Greetz, Geert Geert Verhoeven Consultant @ ...Show All
Windows Forms language heredity form
i have tow form one form heredity from another form iwant when change the language in parent to change in child form with change language from arabic to english and from english to arabic iwant example thank you I believe you are using the wrong words for what you are trying to accomplish. Therefore I'm not sure what situation you have and what you want to accomplish. I gather that you have two forms: BaseForm and DerivedForm. DerivedForm inherits from BaseForm. Inheritance has no impact on determining the language in which a form is displayed at runtime. If you have the situation where you have a base form, ParentForm, and it has a child form, ChildForm, then this is simply a runtime parent-child relationship and ...Show All
Visual Studio 2008 (Pre-release) How to add asegment to a chart
I have created a sample of running chart. In which after each second I am adding a segment to that chart. The problem is that when I am adding a new segment to the chart I have to add it with reference to the chart. I am not able to add a segment with reference to the canvas in which this chart is being contained. How can I add a segment to a chart with reference to its container. Thanks, A little more context would help a lot. What WPF primitives (Path, Polyline, PathGeometry, etc...) are you using to build your chart Is there a particular reason why you can't hold a reference to the chart Can you post a small code snippit of what you're trying to do ...Show All
Internet Explorer Development BHO for windows Mobile 2005
Hi , I am try to build a BHO for windows mobile. I am able to get some help from the sample piehelper but unfortunately it is doesn't explain a lot of things. Here is what i want to do 1. Capture key events like BACK, TALK, END 2. Access the loaded html and fill the text field with some data 3. Access the data in the text field of html I was trying to use IHTMLDocument2 but i am not able to compile the code. Can anybody help to resolve this issue. Thanks, chandra Hi Chandra, Any luck with this I'm trying to do the same thing. Please email me back. Thanks, Tian ...Show All
