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

Software Development Network >> ItsMe!!!'s Q&A profile

ItsMe!!!

Member List

perun
bkustel
Kaichun Wang
xavier gonzalez
k_erjan
Unreal400
Tej62007
MMV2007
Spider-link
Michael Gates
chanpin
Sam Jost
Ants Hurdley
J. Ho
Selcux
MoonRiver000
Jacco Mintjes
bigincome
Scott Allison
Craig G
Only Title

ItsMe!!!'s Q&A profile

  • .NET Development Custom Data Types

    I am having trouble creating a custom data type. I would create a data type that will work like the standard data types in .net so I can using in the following manner. I am using vs 2003. Dim mt As MyType mt = Type1 How can I define a structure that will allow me to set its value this way. And how can I make intellesense list the available options. For discussion purposes my options would be Type1, Type2 and Type3 which would actual correspond to 1,2 and 3. You seem to be on the right track with using an enum. To parse an enum you need to turn to the System.Enum type. It has a static method called Parse that takes the type of your enum and the string representation of it. Below is an example o ...Show All

  • SQL Server Finding the Month with only Week and Year

    I'm having trouble figuring out how to do this, but I'm sure there must be a way. I have a table with a column for week number and another for year. I need to find out what month this particular week fell into. I realize that some weeks will cross over two months, so I'm fine with using either the first or last day of the week which could be turned to the day of the year. Any ideas how to get the month when you only have a week number and year to work with Also, I'm not the one who decided to save just a week and a year. I'm just one stuck trying to figure out how to use the data. :) Perhaps something like: declare @numberOfWeeks integer set @numberOfWeeks = 18 declare @year integer set @ye ...Show All

  • Visual Studio Tools for Office How can I format a range as table using C#?

    We can format a range as table by click the "Format as Table" button in Ribbon of Excel 2007. I wanna implement the same style in C# code. How to do Questions concerning automation of an Office application are technically off-topic in this forum, which is dedicated to questions concerning the VSTO technology. A list of appropriate newsgroups is provided in the " Please Read First " posting at the top of the forum. The macro recorder is your friend, even in Excel 2007. Recording a macro when using this button reveals the basic syntax. If you require assistance "translating" this into C#, ask in the office.developer.automation newsgroup. ActiveSheet.ListObjects.Add(xlSr ...Show All

  • Visual Studio Help collection integration

    Hi All, This is for plugging in one help collection to another one, Let me explain the requirement: We have two VSIP packages, say Product-1 and Product-2, and both have their on help collections. Let the root node in TOC of the first collection be HelpProduct-1 and the second- HelpProduct--2. These packages will be installed in separately, and the requirement is to show in help contents, these two collections as children of a common rootnode, say, 'MyCompanyProducts'. So if I install product-1 first, the help contents should display- MyCompanyProducts      HelpProduct-1          node-1          node-2 ...Show All

  • .NET Development stopping connections

    Hi. I've done this before but for some reason I cannot figure where I am going wrong. When I start listening to a port, I want to stop listening to it, even if there are no connections. When listening, it is listening in another thread. I have 2 buttons, Start service, and stop service:   Start Service: Creates a new thread, and it runs the method to Listen to the communication Starts this thread   Stop Service: if the Socket Client is non null, then it stops the client tcp listener. null's the client socket. //this is where the exception is thrown straight away "A blocking operation was interrupted by a call to WSACancelBlockingCall"   if the tcp client is not null then it stops the tcp c ...Show All

  • Visual Studio Tools for Office Can you get an excel range object from the clipboard?

    Is there away to get data off the clipboard when it is pasted on from excel in a range object Hi Brady Thank you for the additional information :-) If it's a Windows form app, it's not VSTO. When you have general questions about using Excel (or another Office application), it's best to try asking in one of the newsgroups listed in Mike Hernandez's "Please read first" post at the top of this forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 In this case, the Excel programming forum would be best. But no, I don't believe it's possible to retrieve a Range object from the Clipboard, at least, not directly. The reason I say "not directly" is that, when ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. slow, jerky execution

    Hi all, I've ported the first series of my MDX tuts at www.riemers.net to XNA. Before I put them online, however, there is a bug a need to fix first. 50% of the times I run my project (in Game Studio or the .exe), the program runs very slowly. Even for a rotating triangle, I get 5 frames/second. This problem is not only for my projects, but also for others I dload from the internet. It's only sometimes, half of the times it starts with high framerates. After a few moments of framerate 5, chances are the program starts running normally. I only found vague indications of other people having this problem. I stripped the program to the bone, and don't think the error is in the code. When I check the amount of time that has elapsed ...Show All

  • Visual FoxPro Excel & Foxpro 5.0

    Looks like I'll end up writing your whole code step by step. Please create a new thread next time so others would also deal with your questions. oExcel = Createobject("Excel.Application") With oExcel .Workbooks.Add .Visible = .T. With .ActiveWorkBook.ActiveSheet .Range('A1:F10').Cells.Value = 'filledbefore' .Range("1:6").EntireRow.Insert Endwith Endwith ...Show All

  • Visual Studio Express Editions Insert data into dBase File doesnt work

    Hello, i'am a beginner in programing and VB.NET. I try to connect to a dBase file with OLE DB this seems to work. After this i try to insert some data into the file with a SQL insert order. This is my code: Private Sub ToolStripButton1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click Dim oledbConn As New OleDb.OleDbConnection oledbConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Data;Extended Properties=DBASE IV" oledbConn.Open() Dim oledbCom As New OleDb.OleDbCommand oledbCom .Connection = oledbConn oledbCom .CommandText = "INSERT INTO test (GewP_ID, X, Y, DisP_P1, RP1, DisP_P2, RP2, DisP_P3, RP3) VALUES ('GewP_ID', 'Dis ...Show All

  • Visual Studio Team System Error connecting to Team Foundation from all client machines

    Hello! Could someone help me resolving the TF31004 error TF31004: Team Foundation encountered an unexpected error while connecting to Team Foundation Server <server_name>. Wait a few minutes and try again. If the problem persists, contact your Team Foundation Server administrator. I get this message when connecting to TFS from all client machines. TFS is up and running and I don't have any issue working in VS2005 on the server itself. Thanks! I was not able to connect to any of the clients prior to the reboot. There were no windows updates around that time. But, I found the following Application event log errors: Windows cannot query for the list of Group Policy objects. Check the eve ...Show All

  • Visual Studio Help: Visual Studio SP1 Installation Disk Space problem

    I've got two disks on my 2003 server. The primary disk is a miserly 12 GB, while the secondary is 120GB. I never expected that I'd have to install a patch that was half the size of the disk! THe most I seem to be able to free up on the primary disk is about 4GB, insufficient to allow me to install the VS 2005 SP. Does anyone know if there's a way to install this using the space available on the secondary disk Any insight would be appreciated. -rod You can set the user %TEMP% environment variable to point to a folder on your D:\ drive. You can also try to set the system environment variable %TEMP% to point to a folder on the D-drive. After changing this reboot the computer. ...Show All

  • Visual C++ C++ keep variable in memory

    Hi guyz, im new to C++, and i do need your help :) I have created my project a while ago and it is written in Pic Basic, I do not know if you have used it before, but PIC uses COMMONS, it basically some area allocated by PIC Basic in RAM that keps variables until the computer is shut down or these variables are intentially deleted. So what happens is that different functions can access these variables defined in that COMMON, read it and even edit them. then the programs can exit and run again, whereas whatever is kept in COMMON is not getting reset, unless intentionally or computer shutdown. If one function modifyies one of the variables in the COMMON, the next function which will try to access the same variable will get already modifie ...Show All

  • Visual J# vjc throwing an exception

    I do not have this problem when compiling from VS 2005. This started after I uninstalled the J# redist and then reinstalled it using the MSBuild created bootstrapper program (testing it). When I build using nant which calls devenv to build the solution I get the popup asking me what program I want to use to debug vjc because it hit a problem. Even weirder, the compile continues - it does not return an error. But the rest of the projects are not compiled. What is going on and how do I fix it thanks - dave Well, i think too many things are involved here and we need to isolate the issue. One more question... Does nant builds fine if you don't use your bootstrapper program to install J#. I mean does it work fine on a ma ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how to detect the coordinate of mouse cursor

    How to detect the coordinate(x, y) of the mouse cursor. One of the example in DirectX Sample Browser "Cusstom Format" under DirectInput category got teach this, but the program got bug, I was point the cursor to a position, then i move the cursor around and point it back to same position, the coordinate will be different. I was tried to modify the program, and set the cursor to centre when the program run, but the coordinate still different when I move the cursor to same position. Thanks. The easiest way probably is to use the Win32 API GetCursorPos() function which will return the screen coordinates of your mouse pointer. Use ScreentToClient() to map these coordinates to the client coordinates of your window before using t ...Show All

  • Commerce Server What is BP for storing component configuration?

    I am working on custom ShippingMethod's that will have more configuration data than StepWiseShipping and I would like to be able to pack and unpack the custom configuration data. Although ShippingMethod's are pipeline components, they are run by the ShippingMethodRouter and do not appear directly in the pipeline. Therefore the pipeline editor can not be used to edit the configuration. Similarly, the Customer and Orders Manager only knows how to edit a standard ShippingMethod like StepWiseShipping. So I will need to provide a custom configuration data editor. It seems like the way to do this is to: Create support for a custom data store (such as a new table or XML file) for the configuration data. Register the configuration d ...Show All

©2008 Software Development Network