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

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

class

Member List

Adam23
Selvaraj Anantharaman
dkoco
Batuhan
rmtuckerphx
boombastic
wraithzshadow
Jraven
A.F.B
Divermarv
Alex Bibiano
ferlinco
JungleMonkeyMike
Francesco De Vittori
dzimmy
StumblingInTheDark
Lejing
Darrin Turner
Matt24
Joao Pinto
Only Title

class's Q&A profile

  • Visual Basic 1st time lucky, 2nd time's good, 3 times through and it crashes.

    I have a program that uses a subroutine that has an output file called temp.csv. It also has a sub that reads the output file using a streamreader, then closes the streamreader, I've watched it, and it always closes, even when I get an error. Every time through it deletes the temp file because in the output sub, it appends to the output file otherwise. When I run the program, and the program tries to delete the temp file, no problems, second time, no problems, third time, I get the another process is using this file... exception. Like I said, the streamreader is closed by this point every time, I've watched it. Any thoughts John Lieurance wrote: I've gotten burned by this one several times in t ...Show All

  • Visual Studio Tools for Office You must have a complete installation of Microsoft Office 2007

    When ever I run vsto3ctp, I get this error shortly after install begins. I've install Windows XP SP2, then Office 2007, then Visual Studio 2005. After I got this message, I then reinstalled the entire Office 2007 suite again. I can't get past this step...very frustrating. Any ideas on what may be going on Cheers, Jay Hi Jay First, you have to make sure .NET Framework 2.0 is installed. You can get this by installing VS2005 (without VSTO) or just be installing the "distributable" Framework (available on the msdn site). This creates the GAC, which Office needs in order to install the PIAs. Now install Office 2007 (or use the "Change" type of setup via the Control Panel/Add ...Show All

  • Visual Studio Express Editions Viewing variables

    Hello   While I'm debugging, even though the variables are fully defined, I can't seem to view them. They aren't recognized. What shall I do   Thanks There are several reasons for this, so you need to give more information. But if you have the program running in the debugger with the symbols in watch and you get the error CXX0017: Error: symbol "xxx" not found there are two things you should do. The first is make sure you got the spelling right, including case. You would be surprised on how many people get this wrong. The second thing to check is to make sure you are running the program in debug more without optimisations. The optimiser can remove variables it can do ...Show All

  • Visual C# Exposing properties

    Hi! My idea is to include into language a mechanism to expose a field's properties. Let's say I'm inside some WinForms user controll. My control's got a label named label1. I want to expose the Text proprety of the label inside my user controll class and call it LabelText. The main pattern idea is to 'inherit' all the child's property attributes automaticly (like DefaultValue, Browsable and so on - these are just examples, Text proprety's got some others). I would only have to write single line of code that would do everything for me, like public LabelText = label1.Text; One problem I've noticed is that some of the attributes may be of private nested inside that class types, like class MyClass { [AttributeUsage(Attribut ...Show All

  • Visual Basic Months and dates problem

    I have been trying to do a calendar problem using the months of the year. 30 days for April, 31 for December etc. But I am stuck. I was going to use a select case, but again, stuck. Any help would be useful. Thanks To find out how many days are in a given month use the "DaysInMonth" method of the date class: Date . DaysInMonth () Dim MyDate As Date = #11/9/2006# Dim DaysInMonth As Integer = Date . DaysInMonth ( MyDate . Year , MyDate . Month ) ...Show All

  • Architecture Detecting internal calls in business object without using TLS or overloaded internal method

      Hi Forum I have the following problem. I need to know whether a call to a business object was made from another business object or directly from the UI. I need this because of Security and Logging reasons. Security - Users might not have permission to call the method on a business object. But another business object might need to call it. - But it's the same method :( Logging - I often want to log when a user performs an action. Another business object might also perform that action but then I don't what to log it. But it is the same method. ;( The best solution I have found is to make an internal version of the method with parameters. Like this: public class BusinessObject{ &n ...Show All

  • Visual C++ Fatal error C1083-ddraw.h not found while in VS 2005...help requested

    Hi, I have developed a Capture Filter (as a DLL) for capturing the screen activities. It requrires STRMBASE.LIB and a number of header files in C:\DX90SDK\Include and a bases class of directShow found in C:\DX90SDK\Samples\C++\DirectShow\BaseClasses.My whole project is in C# while the capture filter module is in C++. I am building in release mode and as a MixedPlatforms option. All worked fine while i was in VS 2003. Now, when i migrated to VS 2005, i am getting such an error saying "ddraw.h" is not found. How do i resolve this I tried including the "C:\DX90SDK\Include" directory in addition to the C:\DX90SDK\Samples\C++\DirectShow\BaseClasses directory and that lead to more errors. I am able to open streams.h which is ...Show All

  • Visual Studio Express Editions Fooling the compiler...

    could I fool the compiler into accepting for((std::vector<player*>)::iterator (itr = _acct->players.begin();) itr != _acct->players.end(); ++itr) somehow Why What's wrong with the completely legal for (std::vector<player*>::iterator itr = _acct_players.begin(); itr != _acct->players.end(); ++itr) { } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No Design Veiw

    Hello I am writing a game or atleast am attemptting to write a game. I started off by looking at a tutorial on another site about how to create a pong game in XNA. It tell me to go into the designer veiw of Game1.cs{design} and use the graphic the only problem with this is that I have no Game1.cs[design] veiw I have tried several differnt times to start over and get it to come up and it will not can anyone please help me out everything else cames up with a design veiw. So I would really like to know what I am doing wrong. Thank you That tutorial for written for beta 1. Beta 2 no longer has a design view for game components. I would contact whoever wrote the tutorial and ask him to update it. I ...Show All

  • SQL Server Slow Running Insert After Changing OLE DB Destination Data Access Mode

    Hello, In a Data Flow Task, I have an insert that occurs into a SQL Server 2000 table from a fixed width flat file. The SQL Server table that the data goes into is accessed through an OLE DB connection manager that uses the Native OLE DB\Microsoft OLE DB Provider for SQL Server. In the OLE DB Destination, I changed the access mode from Table or View - fast load to Table or View because I needed to implement OLE DB Destination Error Output. The Error output goes to a SQL Server 2000 table that uses the same connection manager. The OLE DB Destination Editor Error Output 'Error' option is configured to 'Redirect' the row. 'Set this value to selected cells' is set to 'Fail component'. Was changing the access mode the simple reason ...Show All

  • Visual Basic image resizing in rtf

    ok im making an irc chat program and have emoticons in the rtf what i would like to know is does anyone know how i can prevent the images being resized in the rtf as users can drag the emoticons to fit the rtf control any help would be great thanks ...Show All

  • .NET Development delete row is not updating in dataAdapter

    Hi, I'm trying to delete a row and the changes can not be updated. --------------------------------------------------------------------- Dim propertyCommand As New SqlCommand Dim propertyAdapter As New SqlDataAdapter propertyCommand.Connection = Conn propertyCommand.CommandText = "SELECT tbl_property.propertyID, tbl_property.propertyName, tbl_property.propertyAddress, tbl_property.prAddline2, tbl_property.prAddline3, tbl_city.cityName, " & _ " tbl_property.postCode, tbl_localauth.lauthorityName, tbl_service.serviceDetails, tbl_agent.agentName, tbl_usergroup.description " & _ " FROM tbl_property INNER JOIN tbl_city ON tbl_property.cityID = tbl_city.cityID INNER JOIN " & _ ...Show All

  • Visual C++ Function name conflict with ENUM name

    Suppose I have a ENUM T_MuxPos_type, where T_MuxPos_type{fixed;flexible;}. While I am coding, I have T_MuxPos_type Mux_pos. When Mux_pos = fixed, I have no problem with gcc but a compilation error with mvs2005: c:\mvs2005\bs_module\source\config.cpp(1925) : error C2872: 'fixed' : ambiguous symbol could be 'c:\panliu_bs\mvs2005\bs_module\source\declareenum.hpp(43) : T_MuxPos_type_E fixed' or 'c:\program files\microsoft visual studio 8\vc\include\ios(183) : std::ios_base &std::fixed(std::ios_base &)' If I solved this problem by Mux_pos = T_MuxPos_type::fixed, gcc compiler will complain about it. So what is the classic method to get rid of this ambigurity I seems to me I should use namespace to solve it, but I don't n ...Show All

  • Visual Studio 2008 (Pre-release) Window.DragMove() is swallowing all MouseUp events when created from ControlTemplate

    Hi all, hoping someone can help... I am creating a "stickyNote" kinda app; with multiple, borderless windows containing a TextBox and other relevant controls. I have defined a "StickyWindow" custom control, whose Content is defined by a ControlTemplate in generic.xaml. From another window, on Click I instantiate a new StickyWindow and .Show(). There are basically two controls a user can click on in a given SitckyWindow, the Border and TextBox. I want the user to be able to DragMove the window by clicking anywhere in the window. When the StickyWindow looses focus, I set the TexBox.Focusable to false, enabling MouseDown to pass through, and have wired up MouseLeftButtonDown and Up events to it. On MouseButtonLeftDown I cast the sender then ...Show All

  • Visual Studio Team System Service Pack 1 error

    Error Unknown. The only thing of relavance i see in the event logs is this: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 10/3/2006 6:59:13 PM Machine: TEAM2 Application Domain: TfsGssInit.exe Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: TfsGssInit Process Id: 7816 Thread Id: 6552 Account name: P2P\TFSService Detailed Message: TF53013: A crash report is being prepared for Microsoft. The following information is included in that report: System Va ...Show All

©2008 Software Development Network