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

Software Development Network >> pisod's Q&A profile

pisod

Member List

r1ck5-focus
BigT2007
Mark Coffman
Kharkov Alexander
Cory.Isakson
Ric Bevan
esloat
TheAgent
Sujithf
fbecker
Dietz
btran
Scott Herbert
wireaudio
Vasanths R
snakeoooooo
NeverGone
Anand Raman - MSFT
Marcel Wauters
Forch
Only Title

pisod's Q&A profile

  • Visual C# Annoying error list - bug ??

        Hi,     I have been using the Visual studio 2005 Profesional IDE for a while now and I notice that each time i type out something like         " this . myObjectReference."   the error list pops up showing ' identifier expected ' and kills the intellisense window. (I set the bottom window to auto-hide to have a bigger code area). This happens the moment i press the dot affter myObjectReference  Is this a bug ...,    Regards tribal  Actually this is happening only when I modify code in the InitializeComponent method of the windows form. I know I shouldnt be doing this but I have always ...Show All

  • .NET Development I need help for url navigate

    Hi, i'm trying to develop a internet browser some thing like the one in http://www.codelifter.com/main/javascript/accentbrowser1.html . i have developed an internet browser something similar to the one in the above link and is developed using the frames in HTML. for eg. www.google.com when ever a url is entered in the address it opens in the below frame, but when i navigate with in the inner frame (like if i click on Videos) the url of the page i'm current in is not visible in the address bar , it still shows the www.google.com . the URL in the page remains static even i'm navigating in the frame. i need a solution for capturing the URLof the page that is opened in the frame and show the URL in the address bar. it sho ...Show All

  • Visual C++ serialPort.Read

    I have been playing around with the serial port class for about a week and have managed to learn a small number of different ways to read the data in and then act upon it. I have just successfully written code to use the serialPort ->ReadByte() method. My problem with this method is that no matter how large (number of bytes) the data is, it will only read one byte at a time when data is received. I want to read a small data packet which contains three characters. I have attempted to use the serialPort->Read() method, but I keep getting a null error. My code is: private : System::Void serialPort1_DataReceived(System::Object^ sender, System::IO::Ports::SerialDataReceivedEventArgs^ e) { int offset = 0; int count ...Show All

  • Internet Explorer Development IInputObject no longer called in IE7?

    Has the behavior around IInputObject changed for IE7 We're doing the standard: 1. On SetSite(), get the IID_IInputObjectSite from the IUnknown parameter. 2. When one of our UI Windows gets or looses focus, call IInputObjectSite::OnFocusChangeIS() It all appears to work; however, we never see callbacks on our IInputObject methods: UIActivateIO, HasFocusIO, TranslateAcceleratorIO. Well, that's not completely true. We see a callback on IInputObject:: UIActivateIO(FALSE..) when a second, different toolbar calls IInputObjectSite::OnFocusChangeIS(FALSE), but that's the only time (we see it in the stack crawl). Is this behavior different from IE6 This bandobject needs these calls to do it's UI correctly. It's more complex than a simple editbox ...Show All

  • Visual Basic printing a hard copy

    So i have an app that has text boxes, labels, and comboboxes. the program populates a database. What i need to do now is Print a hard copy of the data (from a command button on the form) and send an email to someone (through Outlook).. Can anyone point me in the right direction on how to do this Thanks. Ian. the print dialog class, as it states in the documentation, Lets the user choose which sections of a document to print and what printer to print it to. This is your call, would be good user interaction for the user to select what printer they wish to print to for example the printdocument class is the main class that does the print processing job, you have to code in the printpage event, on what ...Show All

  • Windows Forms Combobox items Adding!!

    Hii, I am using c# windows application: I have two arrays of strings one named textArray and the other is valueArray. I want at runtime to display the elements of the textArray in the combobox while the items value is added from valueArray: e.g say one item is US Dollar and its value is USD.   Thanks   yes you could but would be ineffecient I would think, well, depending on where your datasource is (is it from a database or are you creating it manually ) you can do what you have suggested but if its not from a database, then I would highly suggest you use the HashTable approach :-) ...Show All

  • Windows Forms Calling a Menu Option thru code

    I have an application having a Menu with the following options. File -> a) New b) Open c) Close There is a button on the form. My need is when I click on the button, the close option is to be activated. You should have an event hander for the "Close" menu item. Just let the button's Click event handler call the menu item event handler. For example: private void closeToolStripMenuItem_Click(object sender, EventArgs e) { this.Close(); } private void button1_Click(object sender, EventArgs e) { closeToolStripMenuItem_Click(sender, e); } ...Show All

  • .NET Development IEnumerator Problem

    Hi Guys, I'm trying to work on this code. A source from http://blogs.msdn.com/sqlclr/archive/2005/05/20/420623.aspx I'm having error on IEnumerable. Error: Cannot find the type IEnumerator, because it does not exist or you do not have permission. using System; using System.Data; using System.Data.Sql; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; using System.IO; using System.Collections; using System.Security.Principal; namespace SqlServerProject1CSharp { // The record that holds each row returned by the TVF. public class FileRecord { public FileStream fContents; public string fName; public FileRecord(string fn, FileStream fc) { this.fName = fn; this.fContents = fc; } } public class MultiFileAccess { publ ...Show All

  • Visual C# How to display output using for loop in TextBox?

    A simple question: for ( int i = 0; i < 10; i++) { textbox1.Text = i.ToString(); } I want to display 1 2 3 4 ...9 in textbox. However, the codes above only displays 9. Can anyone help Try "\r\n" or better Environment.NewLine textBox1.Text += i.ToString() + Environment.NewLine; ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dynamic CubeMap, How?

    Hi, Is there a fast way to update the textures of a cube map Currently I'm rendering out the six directions and calling TextureCube.SetData to copy the render target contents across. This isn't particularly nice but I haven't found any other way to over come this. The only other alternative I can think of is to completely scrap using TextureCubes and use a list of bog standard Texture2Ds and a 'fancy' shader. Cheers, Tim Yeah. What's your application Shadowmaps for point lights Environment maps Some other lighting use Lots of conventional wisdom says that dual-paraboloid mapping is impractical, but I beg to differ (depending on your requirements, including the particular rendering use, and als ...Show All

  • Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way

    Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. Hi matt, In ur reply you have mentioned about local service, is it local webservice . If it is so I have created a webservice with one public method and an event, like the following [ Serializable ] public class R ...Show All

  • Visual C++ Getting error LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj)

    HI, i have ported vc++ 6.0 code to visual studio 2005. During batch build in debug mode i din't get any error.But if i build the same in release mode i am getting the following error. LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(crt0dat.obj) : error LNK2005: __get_osplatform already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(crt0dat.obj) : error LNK2005: __osplatform already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(calloc.obj) : error LNK2005: _c ...Show All

  • Internet Explorer Development write a custom link-bar for ie7

    I would like to write a link bar (the toolbar that holds favorites) with the same functionality as the link bar of IE7, except than I can have just icons for the links (no text). I would prefer write the plugin using managed code. Since I am totally new to IE development can you point me into the right direction where to start Or maybe I could even make the link bar of IE7 to work in that way ...Show All

  • Visual Studio Can't repair/uninstall GAT or GAX

    I have installed Guidance Automation Toolkit and Extensions along with VS 2005 Beta a few months ago. Now after uninstall VS2005 Beta and installed the new VS2005 Team System Trail version and start up the new VS IDE, I get an error msg saying that "...error reading the manifest file for the Guidance Automation Extensions. The error is -->Method not found: 'Void System.Xml.XmlReaderSettings.set_XsdValidate(Boolean)'." followed by another error msg saying Package Load Failure for Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMaganerPackage. When I try to repair or uninstall the GAT or GAX installations, I get the similar error msg as above (error reading manifest file...). Any suggestions to fix the problem Many thanks in adva ...Show All

  • Visual Basic Error HRESULT E_FAIL has been returned from a call to a COM component

    Help! I have a window that opens a word document from a databse and displays it to a user in an axWebBrowser control. This works fine the first time I open a document, but causes the above error every time after that. Restarting the program fixes it. Here is the error and code fragments of relevence: System.Reflection.TargetInvocationException was caught Message="Exception has been thrown by the target of an invocation." Source="mscorlib" StackTrace: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature ...Show All

©2008 Software Development Network