faina's Q&A profile
Visual Studio Express Editions update data on parent form
Hi, I have a parent form with a datagridview that display all employees under a division each time a new employee is added using a child form, datagridview is not updated. is there way to reload data to datagridview before child form is closed please could smebody help me thanks, so are you saying that when you create an employee on the child form, it is saved to the database on this child form if so, on the parent form you would then have to rebind/refill the dataset with the table. This however is bad practice. you should really just create the employee in the datagridview on the main form, then update the database by the click of a button for example. Or, simply cre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Engine Renderer
I have been using an engine renderer that using DirectX 9.0c. It comes in a version that was developed in C Sharp, and I was wondering if that can be used with XNA Game Studio Express for the making of Windows and Xbox 360 games (assuming that XNA Creator's Club Subscription is purchased) Unless the entire engine was written in managed code the answer is NO. A lot of 3d engines are managed wrappers over native code. Even if the engine is 100% managed code (e.g. axiom) then it was written to use Managed DirectX rather than XNA so again this won't work. However I expect to see some fully managed engines sometime around XNA launch - Garage Games has announced TorqueX for example. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Beginning 3D Game Programming" book
I bought "Beginning 3D Game Programming" book from Amazon web site. What do I need besides Visual C# Express to compile the code included on a CD-ROM The companion CD should have everything you need and DirectX is also downloadable for free for Microsoft. However if you want to start programming game in C#, I would recommend looking into XNA framework. ...Show All
Visual Basic getchildrows help
I need to open a new excel sheet for each row in "Customers" that has childrows in "Invoices" then get invoiceschildrows from "InvoiceDetails" and export the invoicedetails information to excel. I'm very unsure of the syntax of using getchildrows. examples would be very helpful. Thanks! Hi You simply need to have an active datarow in the parent Customers table and then call its GetChildRows method passing in a datarelation that describes to the method how to locate the child data. I've included a simple example of how you might do this (assuming the customer and invoice datatables are contained within the same dataset). Dim ds As DataSet = LoadDataSet() D ...Show All
Windows Forms UserControl Data binding & BindingSource.EndEdit() Effect
I have written a simple user control with just a TextBox control on it and bound Its MyText Property to a DataTable Column. Using 2005 UI facilities I dragged this control from dataSources window on the form.In the form_load I fill my DataTable and by clicking a button I Call the associated BindingSource.EndEdit() whitout any change.But my underlying DataSet HasChanges() method returns true! how can I Fix this problem. here is my controls source: I've written a custom HasChanges method that receives a dataset and loops through all datatables and rows and compares original version value with current version value. if it finds a diffrence return true and at the end returns false. this method works correctly with user controls ...Show All
Visual Basic Question on DataGridView Data
Pardon me for posting twice in quick succession, but I've always found that if I post two questions in a thread, only one gets any attention. I've got a DataGridView where each line displays information from a class called 'Flag', which has a number of variables. One of these variables is a URL for a page that the particular 'Flag' pertains to. But rather than displaying the URL in a column, I'd like to display a clickable link that just says "Video" and, when clicked, opens a new window with the URL. How can this be done The only things I'm familiar with on DataGridViews are .DataPropertyName and .Name, so I don't have any idea how to set all the text for a column to one text value, or how to handle the click event of each ...Show All
Visual Studio Express Editions Just Starting
After completing a few projects in embedded C using ATMEL devices, I have decided to learn visual C++. I have an engineering degree and have learned the (cough!) "basics" from there. I have Visual Studio 2005 standard edition on my pc and I have a book: Microsoft Visual C++ 2005 express edition programming for the absolute beginner. Ok, I have already started to develop my own applications but every time I read this forum I seem to get really confused. So I thought that I'd hold my hand up, ask a few questions and attempt to further my understanding. People have quoted .NET and winForms at me. I thought I was developing applications in Visual C++ and thats that. So, am I using .NET or winForms because I thought ...Show All
SQL Server metadata services for analysis services
Hi, I was wondering if anyone can tell me what options do I have to browse metadata for a cube built on Analysis services 2005. We would not like to buy a new thrid aprty tool for this. Does sql server 2005/ analysis services 2005 have a inbuilt option to view the metadata Thanks in advance. i just saw that in one of the postings. Unfortulately i dont have those files. I installed the samples but I have the developer edition, maybe I shold have the enterprise edition for this Do you think its right ...Show All
SQL Server Cannot see data in database table
Hi all, I am having a problem viewing data in a database table. The data is entered into the database with a web service and it runs without problems. However, when I open the table with the management tool, I cannot see the data I just sent to it. Also, when I try adding data directly to the table, the id column shows that there is data in the table. That is lets say the id for the 1st item is "1", after sending 4 records to the database with the webservice, when I try to enter data in the table directly, the next available key is 5. This indicates that there is some data in the table that I cannot see. Does anyone know how I can reslove this Thanks! Hi, perhaps the transact ...Show All
Software Development for Windows Vista UndoEngine and multiple IDesignerHosts
Hi! I am rehosting the WF designer and I'm trying to get the undo/redo capabilities working. Other than in most of the examples I have not a single design surface, I have multiple each one on a separete tab (like in VS). I'm managing these using a DesignSurfaceManager. The ctor of the UndoEngine (my DesignerUndoEngine which derives from UndoEngine to be exactly) expects to find an IDesignerHost in the IServiceProvider it gets. But in my case I have multiple IDesignerHosts, each surface is one for its own. How can I get the UndoEngine to work Do I have to create an UndoEngine for each design surface If so, how can I get a "global" undo across all surfaces How does VS do it Thanks! ...Show All
Windows Forms OnPaint Override Problem with UserControl that contains Panel and ListBox Controls
I am attempting to creat a custom user control. It contains a Panel and a ListBox control that I use to change view modes of the control. When I attempt to paint on the user control itself nothing is painted. If I respond to the OnPaint event of the Panel control and paint there then the drawing shows. If I respond to the OnPaint event of the ListBox control and paint there then nothing shows. I am attempting to implement a drag and drop ghost image when I paint on the UserControl. I assume it is possible that when I try to paint to the UserControl that it is somehow painting to the background of the UserControl and is not painting over the ListBox and Panel Controls contained therein. Is th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA release date?!
For when is the release of XNA Framework ! Any date ! ...Show All
SQL Server About Web service or HTTP ENDPOINT
Hi All, I met some problems when I walk through a example for Native Http SOAP in SQL Server 2005 for Developers. after I create the HTTP EndPoint in the Management Studio using following code: USE AdventureWorks GO CREATE PROCEDURE EmployeePhoneList AS SELECT C.LastName, C.FirstName, C.Phone FROM Person.Contact AS C INNER JOIN HumanResources.Employee AS E ON C.ContactID = E.ContactID ORDER BY C.LastName, C.FirstName GO DROP ENDPOINT HRService; GO CREATE ENDPOINT HRService STATE = STARTED AS HTTP ( PATH='/HumanResources', AUTHENTICATION=(INTEGRATED), PORTS=(CLEAR) ) FOR SOAP ( WEBMETHOD 'EmployeePhoneList'(name='AdventureWorks.dbo.EmployeePhoneList'), DATABASE='AdventureWorks', WSDL=DEFAULT ) then I can see the ...Show All
Visual Studio Express Editions Buttons to be pressed!
Hi i am really new to Visual Basdic, and fairly new to programming, but i do know the basics :D. I want to make a basic calculater with the buttons "1,2,3,4,...and +, /,-,*". Now im stuck in the codeing part. I have writen for when one gets pressed... Dim Button1 As Boolean If Button1 = True Then TextBox1.Text = "1" Now this code was written for the texbox that the numbers you press appear in. And looking back at the code, i can see its wrong because it makes button 1 a variable, not a object. So is there a way for somthing like this to happen "if button1 is pressed, make 1 appear in textbox1." Thanks in advance for any replies! Here's a little piece of code ...Show All
SQL Server Datasets with multiple tables..
hey guys, quick question that i hope someone can help steer me in the correct direction. i've got a failry large report that gets its data from and XML web service.. the dataset that the webservice returns has 6 tables in it (i'm interested in data from 5 of them).. in order to get my fields to show up correctly in my dataset viewer i've created 5 datasets and use the ElementPath in my query to single out the table i want for each dataset.. this works fine about 50% of the time.. the other 50% of the time it craps out on my because some of the data manipulation that the webservice does causes primary key violations.. is the report making 5 calls to the webservice if it is, is it sending them in multiple threads.. its the only thing i ca ...Show All
