Software Development Network Logo
  • .NET Development
  • SQL Server
  • VS Team System
  • Visual C++
  • Visual Basic
  • Audio and Video
  • IE Development
  • Visual Studio
  • Game Technologies
  • Visual C#
  • Windows Vista
  • Smart Devicet
  • Windows Forms
  • Visual FoxPro
  • Microsoft ISV

Software Development Network >> George Tar's Q&A profile

George Tar

Member List

Ron DeSerranno - MOBIFORM
Scott Chang
YAIR_I
krisvenki
Twice_Resurrected
MF Recruit
anf600
Stéphane Beauchemin
Saurabh Kulkarni
Boulderdude
vbnetdiscuss
Vbnmzzz
curtKauf
blixy
Herbert Lehner
erikkl2000
Radith
smithalovesdotnet
Sarath.
JocularJoe
Only Title

George Tar's Q&A profile

  • Visual Studio 2008 (Pre-release) Does the .NET 3.0 July CTP include ADO.NET 3.0?

    The .NET 3.0 July CTP can be downloaded from here: http://www.microsoft.com/downloads/details.aspx FamilyId=62057A6F-185F-41DB-ABE5-678F6FC388F0&displaylang=en Does this include ADO.NET 3.0 If not, when ADO.NET 3.0 is released, will it be part of a .NET 3.0 CTP ...or a standalone CTP Michael. Since the LINQ forum has announced that there won't be any more LINQ CTP's, what is the prognosis of a LINQ to Entity CTP Are we really going to have to wait for Orcas Beta 1 Jim Wooley http://devauthority.com/blogs/jwooley ...Show All

  • Windows Forms How to add new row from dataGridView

    I bind dataGridView1 with bookBindingSource, now i wanted to add a new record from dataGridView to dataBase book table, how can i will do so. Thanks I think I'm having a similar issue. I have a DataGridView that is bound to a Strongly Typed Dataset. The dataset is a simple Single Table collection of records. I GetData() to fill the dataset, but when I try to Add a new row Dim thisDataGrid As DataGridView = RevisionEntities.PkgGrouper.Controls.Item( "PackagesDataGridView" ) Dim thisDataRow As Integer = thisDataGrid.Rows.Add() I get an error stating "System.InvalidOperationException: Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound" ...Show All

  • Internet Explorer Development some questions about html element

    1. how can i determine if a html element is visible, means doesn't need to scroll to see it (i was trying to use ScrollToView function but it moves the element to the top/bottom of the window although it's already visible) 2. how can i determine if it's displyed on the doc and not hidden, like text under menu (i want to search a text in the page but not in the menus or other hidden elements) any ideas thanks... Amir. found the answer to question 2: instead of using "style" property of IHTMLElement, use the "current style" property of IHTMLElement2, like this: CComQIPtr<IHTMLElement2> elem2 = elem; CComPtr<IHTMLCurrentStyle> style; HRESULT hr = elem2->get_currentStyle(& ...Show All

  • Visual Studio Team System Trouble reusing a field name

    I am working on the second version of my project control prototype. I decided to change the format of my reference names. I deleted ALL of my test projects (using tsfdeleteproject) and removed ALL of my profiles. Then I uploaded my new process template. But when I try to create a new team project I get errors that indicate that I can not use the field names because they are being used by my OLD reference names. I can put a prefix on all of my custom fields names (but I really don't want to). Any other suggestions Thanks, Robert ...Show All

  • Visual Studio 2008 (Pre-release) Binding issue with deep clone

    Hi All, I am currently having an issue when I tried to deep clone the object that bound to the UI, below is the xaml file < Window x:Class = " Desktop.CustomerList " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:Desktop " Title = " Desktop " Height = " 300 " Width = " 300 " > < StackPanel > < local:CommandListView ItemsSource = " {Binding Path=CustomersView} " Command = " {Binding Path=EditCustomerCommand} " ...Show All

  • .NET Development Error on Bitmap.Save()

    Hi, I'm using the JPEG Encoder with a Bitmap.Save()-call. I got the following code from the german MSDN: ImageCodecInfo ici = null; ImageCodecInfo[] iCodecs = ImageCodecInfo.GetImageEncoders(); foreach (ImageCodecInfo ic in iCodecs) { if (ic.MimeType == "image/jpeg") { ici = ic; break; } } EncoderParameters ep = new EncoderParameters(1); ep.Param[0] = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, (int)90); Result.Save(CurrentTargetFile(), ici, ep); After the execution of the last code line I get the following exception: "System.ArgumentException" Message="Invalid Parameter." Source="System.Drawing" StackTrace: bei System.Drawing.Image.Save( ...Show All

  • .NET Development setting XML attribute

    I'm trying to set a XML attribute whenever someone presses a radio button for example: before radio button click <row type=""> after radiobutton click <row type="header"> i can select the row and change the value however i am having problems writing the change back to the file. if i use the xmltextwriter it seems to clear the file the code im using to get to the button currently is XmlNodeList nodelst = _doc.GetElementsByTagName("row"); foreach (XmlNode node in nodelst) { XmlAttribute attr = node.Attributes["type"]; attr.Value = "header"; } can anyone help at all Colin Gemmell XmlTextWriter tr = new Xm ...Show All

  • Visual Studio Express Editions how to populate label on different form.

    I'm trying to populate a label on from. The value for this label is coming from another form which opens up the active current form where the label resides, is this even possible and if so can someone explain how to do it using the C# express designer. you need to have a reference/instance of that form in question, and then access the label property either by making the label control public (so its viewable/accessible by the caller class(es)) or create a public property which can get/set the label property. Example of accessing other forms/controls: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=765625&SiteID=1 same thing would apply for a label, except you just change the properties appropriately. so, you want ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Games built on XNA do need XNA framework to run

    Hello all, Not sure if this Question has been asked before and might be a stupid one to some, I was just wondering that Games built using XNA; do they need XNA framework to run on the users machine apart from NET 2.0 framework. PS -> BTW... XNA is really cool and its very easy to make games now.. cheers for the developers .. Regards, Claton I'm sure Microsoft will release a runtime only install just like .Net 2.0 and DirectX as well as a way for you to build it into your games setup program. Based on DirectX I don't expect to see one before RTM. To be honest this makes sense becuase shipping a redist for beta just means people will end up with beta copies who don't know they are getting beta copies when they inst ...Show All

  • Visual C# Object reference confusion.

    I have a simple function located in Class2.cs - an auxiliary file for Form1.cs (Console Application in VS2005). It take one parameter: string. This string is supposed to serve as a switch for selecting the right string to build. public string getConnStrings ( ref string switched ) In the calling function I call the function in question as: string switched = "1"; string str1 = Class2.getConnStrings (switched); // or (ref switched); I get this error: Error 1 An object reference is required for the nonstatic field, method, or property 'tapTCPports_1.Class2.getConnStrings(ref string)' D:\VCsharp_Projects\tapTCPports_1\Form1.cs 1231 21 tapTCPports_1 When I placed the function getConnStrings into the ...Show All

  • Visual Studio Express Editions Opening new windows

    I'm trying to design a program that opens a new form when you click a button. I've designned two forms. (Form1.vb, Opening form and Form2.vb) I have button1 located at the middle of Form1.vb . I want Form2.vb to open when I click Button1. Any Help Double click on your button on Form1 to create an event handler and then within add: Dim myform as new Form2() myform.Show() With these two simple lines you'll create a new instance of your second form and display it. If you want the displaying to prevent the user from working with Form1 until Form2 is closed, change Show() to ShowDialog(). Does this work for you ...Show All

  • Visual Basic Problems with ActiveX after deployment

    Hello, I have a VS2005 VB ActiveX class library (phew!) in which I am writing code to synchronise outlook with owr own application. I have a vB6 testharness which does a createobject refering to the .net dll and invoking a function. Inside the net dll I access outlook via a com reference. everything is working fine on my dev machine where I have VS2005. However on a test machine which has office and the redistributable net 2 framework when I deploy the software (via a VS2005 deployment project) and invoke the dll via my testharness I got 429 "ActiveX Component Can't Create Object" So I tried to regasm the dll's (including the interop.dlls in my deployment package) I got the error -2147024894 when I ran ...Show All

  • Visual C++ More _Interlocked intrinsics?

    Are there any plans to support more _Interlocked intrinsics in the next VC++ You took away inline asm in the x64 compiler so it's frustrating not having immediate access to stuff like "lock add/sub" or "lock cmpxchg16b". I think it would be very cool if the compiler supported custom user-writable intrinsics, but getting at least cmpxchg16b would be a great. Brian Kramer wrote: Does the x64 compiler support the __emit intrinsic (I don't have that compiler installed). If so you should be able to create your own intrinsic that wraps __emit. They removed all ability to emit your own instructions for x64. Instead you have to deal with intrinsics like _InterlockedIncrement() which for some ...Show All

  • Visual Studio Express Editions Why do I need to sleep the thread?

    The following code only works if thread.sleep in fitth line is 10000 or higher. Why is that Is there a way to better program when the web browser document, including all frames, is fully stored in the htmldoc Dim wbBrowser As New SHDocVw.InternetExplorer Dim HTMLDoc As MSHTML.HTMLDocument Dim iHTMLCol As MSHTML.IHTMLElementCollection, HTMLDoc = wbBrowser.Document Thread.Sleep(10000) iHTMLCol = HTMLDoc.parentWindow.frames.item(4).document.getElementsByTagName( "span" ) Try using the DocumentComplete event of the InternetBrowser object, it fires when the document is fully loaded and initialized. Use the WithEvents keyword to allow you to ...Show All

  • Visual Studio error MSB6006: "devenv.com" exited with code 1

    Hi, I tried to reset the experimental hive several times and the VS settings without success. This errors is recurring and went away for a few weeks but is now back. Please help! Charles Verdon Target "CoreBuild" skipped. Previously built successfully. Target RegisterManagedPackage: Using "RegPkg" task from assembly "D:\Visual Studio 2005 SDK\2006.09\VisualStudioIntegration\Tools\Build\Microsoft.VsSDK.Build.Tasks.dll". Task "RegPkg" Command: D:\Visual Studio 2005 SDK\2006.09\VisualStudioIntegration\Tools\bin\RegPkg.exe /root:Software\Microsoft\VisualStudio\8.0Exp /codebase "E:\Projects\VSOD\ODB\Debug\VSIntegration.dll" The "RegPkg" task is using "RegPkg.exe&quo ...Show All

©2008 Software Development Network