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

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

Jamesx

Member List

Black Dhalia
Summoner
Federico Raggi - MSFT
mnelson
Black-Pear
MelissaA
Learning VB
Scott Anthony
Nerick
BenCh1
Mazzie
Bassam72
Skipping Rock
Socrates Kapetaneas
kemal
Goonie
cdun2
mark hsu
Peter Barnet
pfear
Only Title

Jamesx's Q&A profile

  • Visual C++ Trouble with TreeView Label Editing

    Hi, I'm Dan. I'm fairly new to Win32 programming but have been doing it for several months now (independant, no classes/books/etc) and am starting to grasp it. I have been trying to, as a learning experience, create a game design program that would allow for easy PC game creation with little coding experience (similar to GameMaker if any are familiar). Anyway, I am currently trying to implement a TreeView to display resources that the game designer adds into the project (sprites, objects, etc). Before I begin delving into more critical details of the program, I am trying to first establish the overall environment. I have recently allowed the user to add resources (though they do nothing so far) and have put in context menus for the resourc ...Show All

  • Smart Device Development Regarding Storage Card Memory

    Hi, I am developing smart device applications using CF1.0 on VS 2003. I need your help. I could get device memory information by using GlobalMemoryStatus() API. But i want to get Storage Card Memory information. Please send your suggestion or links. Thanx. M. GANESAN You can call the Native API GetDiskFreeSpaceEx using P/Invoke. A sample implementation should be available here . ...Show All

  • SQL Server Deploy local SQL Server on internet?

    Hello, Sorry for posting this here, I couldn't find an accurate forum name to post this in. We are using Windows SBS Server 2003 with SQL Server installed. We have a static IP. I am wondering if we can host our database. I am specifically interested in having outside websites access our database. Is there anything special I need to do to make this happen I am pretty clueless about this. Thanks! Hi Yaron, IMHO its simple when you have experienced hosting database driven Intranet site, the difference is just to BOUND dedicated IP address in the IIS's Directory. As you have SQL server installed on your SBS now just copy the website files in folder and map those using IIS. map your Static IP to that IIS Di ...Show All

  • Visual C++ problem with /NODEFAULTLIB linker option

    Hello, I'm trying to compile a C++ code with /clr option and remove all references to the default library. I want to only analyze the output code and do not need to run it. I used the /NODEFAULTLIB option and got two liker errors: Error 1 error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ " ( .cctor@@$$FYMXXZ ) main.obj Error 2 error LNK2001: unresolved external symbol _mainCRTStartup Test1 To resolve the second error, I changed the project type to .dll and set the /NOENTRY option in the Liner/Advanced properties. Now I'm stuck with the first error. It seems it is looking for the constructor of some object. I'm guessing if I define a dummy object with proper name, this should be resolved too. Is that ...Show All

  • SQL Server Derived Column / Change date format

    Hi, Is there a way using a derived column transformation to change the format of the date eg: The input flat file's date is in yyyy/mm/dd and i need to convert / change this to yyyy/dd/mm Is this possible Thanks in advance, Slash. .. would work because it is not really a date is it It is just a string. Worth bearing in mind since display of dates is really a client issue not a SSIS/Server issue, unless you are taking a string and converting to a date type. Then SSIS will use the "client" as in user account settings that the process runs under when interpreting the string. ...Show All

  • Visual Studio Express Editions How do i get my text application to be able 2 insert a picture into the rich text box

    I need to be able to use the rich textbox for text and pictures but i dont know how to get it to allow pictures You can insert a picture in an RTB by pasting it from the clipboard. Check this thread for code. ...Show All

  • Visual Studio Team System How to modify email template sent via Project Alerts

    I want to be able to modify the email template that states that a build was successful or not that is sent via Project Alerts Specifically, I want to be able to add a link to a report that is run via the daily. Can I do this Where can I find the template and how do I modify it Thanks, Staffan I believe the template is stored in C:\Program Files\Microsoft Team Foundation 2005\Web Services\Services\v1.0\Transforms on your TF Server application tier machine. You should be able to modify it if you like, though I'm not the guy to give advice on how to go about it... Let me know if you're having trouble tracking down documentation for this, and I can try and find some for you. -Aaron ...Show All

  • Visual Basic Printform anything better???

    I am trying to develop a reusable method of printing various forms. I've toiled with printform but it seems to restrictive i.e many times I need to be able to print "Duplex" or set the printer resolution to its highest 600 DPI.. printform to the best of my knowledge can't handle this. I would like to have a method I could use to print forms (sometimes many forms) to fill a standard 8.5x11 page even if the form utilizes a scrollbar. Printing using "PictureBox" seems to be what everyone recommends but no one has developed a common source code. Everyone has their own ideas which is good but confusing Any help would be appreciated Greatly!!!! Mitch5713   Oh yes I'm using Vb 5.0     ...Show All

  • .NET Development Invoke exe from Windows Service

    I want to invoke an exe from Windows Service. I had tried using system.diagnostics.process.start but it is not woking. Is that any idea..to do this......... Please help me...... Thanks in Advance... Regards, C.Babu. Assuming you are launching your exe correctly, you will see the process running in your process list from the task manager, but it probably isn't visible to you. This is because your service is running under a system account and not the user account. To get past this, first install your windows service. Then, go into the computer management window to view the service properties. Under the 'Log On' tab, you should see two radio button with the options "Lo ...Show All

  • SQL Server Insert image using clr stored procedure

    I tried to insert a row using a clr stored procedure where a field was a varbinary(max) and the data was a jpg file. The data was truncated to 8000 bytes. A similar T-SQL sp did not truncate the data even though the parameters were identical. With the clr sp I tried varbinary, variant and image for the parameter type. The variant gave an exception. The others worked but the data was truncated. I used sqlpipe.executeandsend. Someone asked elsewhere if the pipe had an 8000 byte limit but was told it had not. Any ideas Thanks, John By default Visual Studio limits sql strings to 4000 characters. You must add SqlFacet attributes to the strings you want to be different than that. For example to pass ...Show All

  • Software Development for Windows Vista Reentrant workflows and activies

    I have a workflow for a purchase order fullfillment that can be restarted if something fails and has retries in it. Some activities must not run again on a retry within the workflow. Is there a way to use the Tracking Data within an activity so see if the activity already has closed thanks Peter You could you tracking, but why not just set a flag in the workflow or if you have some external object you are calling to do some operation just return if it has already been done. If an activity needs to be executed more than once then a new ActivityExecutionContext must be created for its execution. With out of the box activities this leaves you the While, Replicator, ConditionActivityGroup or State act ...Show All

  • SQL Server Time dimension limits kills performance

    Hi, I have a cube with a fiscal time dimension like that: Year = 2005, 2006, 2007 Quarter = 20051, 20052, 20053 Then months and weeks using format like 200501, 200502 etc. Cube is partitioned by quarters, 12 partitions in total. Now what puzzles me is this: - When I query this from an Excel pivot and set no limit on the time dimension so I get something like total 2005, 2006 by quarters and 2007 by weeks, the query processes in a few miliseconds - When I query this from an Excel pivot and exclude something from the time dimension so I would get only 2006 and 2007, the query now takes up to 30 minutes. The code generated by Excel is much different between the 2 situations however, since the cube is partitioned by ...Show All

  • Smart Device Development VS .NET to VS.NET 2005

    I have a problem with the conversion of dates after migrate of VS.NET 2003 to VS.NEt 2005 Test: Dim oDate As DateTime = DateTime.Parse(oDst.Tables(0).Rows(1).Item("mydate").ToString()) Error: invalidcastexception ..... In my project of vs.net 2003 worked well that code I sorry for my inlges ... i speak spanish Thanks. Other problem .... I import a group of sentences INSERT from a text file .... test Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('UUUUUU','3') Insert Into XXXXX Values('U ...Show All

  • Windows Forms The Answer - Displaying selected items in an unfocused ListView

    Hello, I have the following problem : I want to display the selected items in a ListView even if the ListView isn't focused. As far as I have noticed, in .NET Framework 1.1 the default behaviour is NOT to display them while the ListView control is not focused. Any workarounds Andrei Alright I got it !! The basic idea is the each ListViewItem should have its  " UseItemStyleForSubItems " property to true. make sure you do that. In case you cannot do it at the beginning, you can do it in the OnSelectionChanged() function that exists in my solution below. Enjoy! Heres the solution:     [Description("ListViewWithSelection")] [ToolboxBitmap( typeof (ListView))] public class ListViewWithSel ...Show All

  • SQL Server Time Dimension: How to set Default Member to Current Month

    I want to set current Month as a Default member in my Time Dimension. So that every time i see my data it should display most current data. I've tried a lot in Default Member property not getting success. Thanks in advance Here is an example using the Adventure Works cube. You can add this to the cube script for the Adventure Works cube and it will default the day to the current date using the Now() function. I had to use (Now() - 1000) to set the date back to 3/25/2004 due to the fact that the Adventure Works cube Date dimension ends at 8/31/2004, but I think you will get the idea. The other thing to note here is that the [Date].[Date] attribute has a "ValueColumn" defined that is of type ...Show All

©2008 Software Development Network