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

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

Khookie

Member List

kayers
AndyJ_PS
RobDude
Hoopla
Mariano_60
KAAU
Jim Gordon
_hunter
John Sorensen
Markus Fritz
avaya12
dmk70
Selder
Shepherd
globbe
Aakash_p
Bellingham Coder
Marzullo
Chayodyn
Jay_Vora_b4843e
Only Title

Khookie's Q&A profile

  • Visual Studio Subreport could not be shown" when trying to view the report using ReportViewer.

    Hi, This is an urgent query. Appriciate early response. I am new to ASP.NET. I am getting the error "Error: Subreport could not be shown" when trying to view the report using ReportViewer. I have been trying to figure out this for the past 2 days but in vain. I ahve tried all the possible solutions from the net but no success. The code sample :- ReportViewer.aspx <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ReportViewer.aspx.cs" Inherits="ReportViewer" Title="Client Service Database - Futures" %> <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken ...Show All

  • Visual C# Accessors are properties??

    Okay so Accessors are properties in C#. In other languages however, (eg Java and C++), Accessors are actually "methods", am I correct Yes, you can see them as methods. For this property: public String Name {  get  {   return _name;  }  set  {   if ( _name != value )   {    _name = value;    MarkDirty();   }  } }   Two method will be created, get_Name and set_Name. Where get_Name returns a String result and set_Name accepts one string argument. The simple property accessors are inlined by the JIT-compiler, which means that accessing a field and a property are the same. ...Show All

  • Visual Studio Express Editions what day in week?

    how do detrimen what day it is .. monday, tuehusday, etc.. or with an integer with 1 = monday 2 = tuehusday ... hehe just a way do deside the current day in the week . thanks :D oh i see :) .. thank you verry much xD emm .. you should not know what could result in that when i add a label or anything to my current project in VB2005 express and then start debugging i cant see the new label button etc :S ...Show All

  • .NET Development save asp.net profile in sql server. No changes in profile!!!

    hi, I'm using a asp.net profile to save user information. E.g: [Serializable] public class UserAddress { public UserAddress() { } #region Property: Street private string street; /// <summary> /// Gets/sets the Street /// </summary> public string Street { [System.Diagnostics.DebuggerStepThrough] get { return this.street; } [System.Diagnostics.DebuggerStepThrough] set { this.street = value; } } #endregion wehenever i update an edited profile using: Profile.UserAddress.Street = "new Street" ... Profile.Save(); then, the profile is saved twice (the first time with the new data, and t ...Show All

  • Visual C# why the format is not uniform

    private void port_DataReceived(object sender, SerialDataReceivedEventArgs e) { comport.ReadTimeout = 300; String s = comport.ReadExisting(); using (StreamWriter sw = new StreamWriter(@"C:\test.txt",true)) { sw.Write(DateTime.Now.ToShortTimeString() +" "+ s); sw.Flush(); sw.Close(); } } The above method is used to write data from the SerialPort to a text file. Below is the result I get in the test.txt: 4:22 PM 1 4:22 PM 2 3 4 5 6 4:22 PM 7 4:22 PM 8 4:22 PM 9 a 4:22 PM b 4:22 PM c 4:22 PM d 4:22 PM e 4:22 PM f Why for "3,4,5,6" there are no time ahead I was lost and could no find the reason.... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I'm trying to reference another project

    Right now I've got a windows game project and a windows library. I'm trying to reference the the game project to the library but when I go to 'Add Reference' then to the 'Projects' tab and there are no projects in that tab...its blank. Any suggestions thank you this worked out perfectly. I was thinking something along those lines but I'm just not on the ball today. Thanks : ) ...Show All

  • Smart Device Development program output string to textbox on WM5.0

    After highlight a textbox on a webpage, users go start then select a program which will automatically enter a string text on the textbox. Can this be implemented with visual studio 2005 I am using a Imate jasjar which is running WM5.0 Many thanks Let me try and understand your question. You have a webpage open in Pocket Internet Explorer. A particular textbox has focus on that webpage. At this point, you want some other app to insert some text into the textbox. It would help if I knew why you want to do this - we could try giving you an alternate mechanism Now, this is not going to be directly possible or easy but you could try finding the handle to PocketIE and then to the textbox using ...Show All

  • Visual C# Looping through the pages of a Tab Control, and checking whether they contain a certain control

    I'm making a text-editor-like program with tabs for all the open documents, and need a "Save All" button, unfortunately, not all the tabs will contain a text box. How can I loop through each page of the Tab Control, check whether it contains a Rich Text Box control and if so save the text from it The code I'm currently using on my regular save button is: public void Save_Click( object sender, EventArgs e) { RichTextBox tempbox = tab.SelectedTab.Controls[0] as RichTextBox ; if (saveFileDialog.ShowDialog() == DialogResult .OK) tempbox.SaveFile(saveFileDialog.FileName, RichTextBoxStreamType .PlainText); } And this saves the text from the currently selected tab. Any help would be greatly app ...Show All

  • SQL Server Use a tabel from another SQL server in a view

    Hope this is the right place, I have SQL server x and y In server x I have som tables I would like to use in Views in Server Y (Server X and Y are on different servers both on same network) How can I do this Hi, You probably want the "Sql Server Databaser Engine" forum. What you're looking for is "Linked Server" which is way of creating an alias to a remote database inside you local database. It'll let you do what you want. There's a series of articals here - http://www.databasejournal.com/features/mssql/article.php/3085211 which should put you on the right track. Dave ...Show All

  • Visual Studio Hiding Explicit Interface Implementations

    I could have sworn that somebody has asked this before, but I don't find the thread anymore and I can't remember the answer... Is there a way to hide explicit interface implementations from the documentation generated using Sandcastle Michael, In Sandcastle you can do this by writing custom transform to exclude the informationf rom reflection.xml. We do not provide any custom tag to remove this information. Anand.. ...Show All

  • Visual Basic Online help doesn't prompt for Proxy Authentication

    Hi, If I want to access external web pages through my company's LAN then I have to go through a proxy and that proxy prompts me for authentication before I can continue. This is true for any application accessing the internet including IE, Windows Media Player and RealOne Player. However, not for Visual Studio 2005 Express Online Help it seems! When trying to access online help, instead of being prompted for my internet username and password, I get the following error: 'Search Failed The request failed with HTTP status 407: Proxy Authentication Required.' Why can't the help system prompt me for the authentication details as other applications do Is there a work around for this Thanks Oli I just encountered t ...Show All

  • SQL Server .dtsx package from Informix using ODBC

    Help! I'm trying to create a simple .dtsx package that imports data to SQL server 2005 from an informix 7.3 db using an ADO.net ODBC connection. I am first creating the groundwork for the dtsx package in SQL server using the wizard, and then editing the file later in visual studio. My data source SQL in the dataflow task is simple and it works great until I hit a locked record on the Informix database. select <coulmns> from <table> Where <condition> The work around syntax for the locked row on the informix DB should be: set isolation to dirty read go select <coulmns> from <table> where <condition> This syntax will return the data correctly using a non-microsoft ...Show All

  • Visual C# Choosing a Draw() function based on class members

    I have multiple draw() function that wil be called depending on some class members. If there is an effect, if it is primatives, ect. Yes I could have a base class and then have inherited classes depending on what they have extra, the problem is that you will end up with a whole lot of classses. ie. ModelwithEffect, ModelwithBasicEffects, ModelwithEffectandTexture, ModelwithBasicEffectsandTexture.. ect. So I would like to roll it all into one class. I would kind of like a function pointer way of doing it but not sure how to do this with C#. Have the Draw function really just be a function pointer to the correct draw function. As you make changes in the members it just resets it to the proper function pointer. Any ideas theTroll ...Show All

  • Visual C++ How to communicate with a Command Prompt (cmd) window in VC++

    hi all i want to use the VC++ to write a program that can run the command line window and run some command on it i.e pass some commands to it like for running an .exe file with some parameters and then get back some results from it. how can i do a thing like it. Aamir Search for the system method in MSDN and you should find some entries on how to use it. e.g.: "cmd /K a.exe first_argument" Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio RunTime Check failure #2 - Stack around the variable 'xyz' was corrupted

    Hi, I'm facing this problem from the time I've ported to VS2005 from VS2003. All similar issues reported on various forums, talk of the case where the variable is an array and an out-of-bounds element of that array is being written to. However, in my case, the variable is an object of a class consisting of an HModule, two bools and six pointers. Could you please suggest what might be wrong Regards, Satnam Singh Anand ...Show All

©2008 Software Development Network