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

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

fscarpa58

Member List

nobs411
Paval
FRUSTRATED_TOO
Patch77
jatwood
RobertMC70
Callavin
thukralz
Part Time Australian
pcompassion
angka
abuck
lawrence ZR
supersonic1976
pino69
AJB123
TheSonny
Euclidez
WinFormsUser13232
rperreta
Only Title

fscarpa58's Q&A profile

  • Visual C# ListView: Add to specific column

    I'd like to take a few properties from files (File FullName, File Extension, File Size) and input them into a ListView in Details mode. I've already set up my columns via the GUI and can populate it with a single property (in this case, FullName) just fine. But I'm having a tough time figuring out how to go about populating it with the additional properties. Column names, in order, are: ColName, ColType, ColSize private void SearchList_Click( object sender, EventArgs ArrayList) { ArrayList files = new System.Collections. ArrayList (0); ArrayList filetypes = new System.Collections. ArrayList (0); // locate all the filesystem items of interest foreach ( object item in listBox1.Items) { fo ...Show All

  • Windows Live Developer Forums Windows Live Spaces Music?

    How do I get media player or get to play music with Windows Live Spaces well "sigh" I already know all that and yes it is easy , my question is WHERE!!! not how !!!!do you find music or videos to go in to the live space player Every site I try only has it for places like my space , tagged etc , but no alot for my space live and the ones in media player are mostly broken links or again only for certain sites , what I am looking for here is a list of urls I can go to to get things like alternitive or rock songs by acutal performers thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. StreamWriter text file - load Vector 2 and enums

    I'm making my own tile map game. It's similar to the tile tutorial from Jaegers, but class based (each Map has Screens and each Screen has Tiles which, in turn, have properties). Saving to an XML file is just too big (3 megs+ for a 5x5 screen map), so I'm changing over to saving a text file, but having problems loading the Vector2 and an enum TileList {grass, desert, water}. The save code works fine, but I can't figure out how to convert the stream when its loaded. Is it even possible to do this Or is there a better way to save data besides XML public static Map LoadTextMap( string fileName) { StreamReader reader; reader = File .OpenText(fileName); Map tempMap = new Map (); tempMap.Version = Convert .ToI ...Show All

  • SQL Server Issue Exporting Date format to a delimited file.

    In exporting from a OLEDB connection to a flat file. In the originating table the field for DOB is in a varchar(10) format ex. 01/17/2007. The flat file connection destination is setup as a DT_STR. When you look at the OLEDB connection table preview you see it as 01/17/2007. When it is export to the delimited <CR><LF> <|> pipe delimited the format looks like this 01/17/2007 00:00:00. The issue would be resolved with a right ragged fixed width file. But this is not the requirement for the project format fot the file. I have tried delete and recreating the connections, and even tried doing a data conversation from the OLEDB connection to a char(10). Also, thourgh the transformation services with out any luck. On the flat ...Show All

  • Software Development for Windows Vista Email notification on task creation

    hello i designed a simple sequential workflow in visual studio. now i would like to send automatically an email notification to the assigned person of a task when the task is created. to reach this goal i set the SPWorkflowTaskProperties ' property SendEmailNotification to true. but now when the workflow engine creates the task, the task will be assigned successfully to the correct person, but no email notification is sent. i use the following code in the CreateTask method: approvingTaskId = Guid.NewGuid(); approvingTaskProps.Title = "Please check invoice data and approve"; approvingTaskProps.AssignedTo = "DOMAIN\\aduseraccount"; approvingTaskProps.TaskType = 1; approvingTaskProps.SendEmailNotificatio ...Show All

  • Visual C++ DirectX Symbol Not Found, Can anyone help?

    Hi this is some sample code i have been trying to run in Visual Studio Express: #define STRICT #define WIN32_LEAN_AND_MEAN #include "stdafx.h" #include <windows.h> #include <d3d9.h> #include <d3dx9.h> #include "resource.h" //----------------------------------------------------------------------------- // GLOBALS //----------------------------------------------------------------------------- HWND g_hWnd = NULL; LPDIRECT3D9 g_pD3D = NULL; LPDIRECT3DDEVICE9 g_pd3dDevice = NULL; //----------------------------------------------------------------------------- // PROTOTYPES //------------------------------------------------------------ ...Show All

  • SQL Server H

    Our SQL Server 2005 - clustered - 64 bit - 4 CPU - 8 GB Memory - PerfMon counters: Paging File:% usage peak (for the _Total instance) = 100% Process:Page File Bytes Peak (for the sqlservr.exe process) = 8673640448 SQLServer:Buffer Manager:Total Pages = 617171 SQLServer:Memory Manager:Maximum Workspace Memory = 5780079 SQLServer:Memory Manager:Total Server Memory = 4954511 In the Windows Task Manager, the mem usage for sqlservr.exe goes up as high as 6 GB and then it drops down to 0. This process of going up and down repeats itself every 10 minutes or so. Appreciate any advice. Thanks. Hi, I see that the sql server process can consume as much memory as it requires. So the RAM or memor ...Show All

  • Visual Basic Validating an XML Document using a DTD

    Hello, I have a program in VB that creates an XML document.  Now I need  to validate the created XML document against a dtd that I was given.  How do I do that   This is what I have so far, but I get the error "No DTD Found", which is pretty obvious because I haven't even told it where the dtd is...because I don't know how.  I've just pieced  the code below together from some other posts so I have no idea if I'm even on the right track.  Also to make things extra fun the dtd is not all contained in one document, at least I don't think so.  For example in SYNC_HMSBOM_001.dtd, which is the dtd that I need to validate the xml against, there are lines of code like the following: <!ENTITY % HMSBO ...Show All

  • SQL Server How to select top N number per date group?

    I have 1 table named BookMe, with fields $Date, $Div, $Name I want to select the top N number of Div's (ie highest Div value) per distinct Date. i know how to get the distinct date like this: SELECT DISTINCT $Date FROM BookMe ORDER BY $Date How do I combine a TOP keyword to get the TOP n rows per distinct date Thx! SQL Server 2005: (top 1 $Div for each date) SELECT t1.[$Date] , t1.[$Div] , t1.[$Name] FROM ( SELECT [$Date] , [$Div] , [$Name] , RANK () OVER ( PARTITION BY [$Date] ORDER BY [$Div] DESC ) as RowNum FROM   yourTable ) t1 WHERE t1 . RowNum < 2 ...Show All

  • Windows Forms Just try too...

    Can someone please tell me how to setup my FTP to my web site host provider In XP and every other Windows program it could be done. I can't even use FileZilla to connect to the host. When I use my other PC with XP I have no problems getting into the site, however I am unable to connect no matter what I try to do. Paul telephonecamp@hotmail.com This forum is not for general troubleshooting questions about the Windows operating system. This forum is only for Windows Forms programming questions. I recommend you to use the Microsoft Newsgroups for better responses: Windows Vista Community ...Show All

  • .NET Development Update row SQL and type conversions

    Hi, I'm looking into updating rows using plain SQL statements. I find that I have to convert my data into strings to construct the statement. These conversions need to be mapped to the database types e.g. no comma in a float value. Is this functionality already present somewhere, like it is for reading a record using the many Get... methods in a DataReader Is there a best practice Using DB2, but not looking for a DataSet related solution. Would appreciate your help. Regards, Tonn You have to worry about formatting when using concatentated T-SQL, which is really a bad practice because it opens you up to SQL Injection Attacks. SQL Injection Attacks - Parameterized Queries - Regular Expressio ...Show All

  • SQL Server create view using data in seperate severs

    Hello: I'd like to create a view on server x which references tables on an entirely seperate server. Is this possible Is seems strange to have to copy the tables over just to create a view. In the view wizard I can't seem to 'browse' to the tables on the other server. The code I'm working with would conceptually be something like this: select server name.database instance.owner.table.field from server name.database instance.owner.table where <field name> like 'xxxx%' or something along those lines. Any help would be appreciated! Thanks. I don’t know what servertable means, but it should be something like this here (using Aliases) which makes reading more strai ...Show All

  • Visual Studio Team System Using Functions as Form Post Parameter values?

    I have a number of Form Post Parameters in a webtest that require the current date as a value. ex: ShipDate=04 Jul 2006 Without having to generate code, is there a way that I can use Format(now(), "DD MMM YYYY") as the value I wound up creating a Custom Extraction Rule that takes either standard or user-defined DateTime format strings and sets a context with the formatted string. Sidebar: Not to complain but I am more comfortable working with VB. The link given is not VB friendly. ...Show All

  • Visual Studio Express Editions I am having a problem with my code.

    I was trying to make an application. the application is very simple but when i was typing the code it said there was two errors. The first error was ('ElseIf' must be preceded by a matching 'If' or 'ElseIf'.) The second error was ('End If' must be preceded by a matching 'If'.) I really need help to get this code error free. The code is at the end of this page. Thanks for helping. The code Public Class Form1 Dim door As String = "locked" Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If door = "locked" Then Button1.Text = "Unlock" Label1.Text = "The door is locked" MessageBox.Show ...Show All

  • SQL Server SSRS Fixed Table Size

    Hello, I am trying to find a way to fix the size of a table in SSRS so that it would not push any items underneath it when it grows, due to multi-row data set. I have set the canGrow = false property of all the text boxes in the table, but this did not help. Does anyone know if it is possible to force a fixed size of the table and how it is done Thanks. TF I am begining to think that an invoice is not an application that SSRS 2005 can handle from the lack of responses. Maybe a future release will have this popular type of report. For now, I guess I need to find another solution to my problem - somewhere else. Does anyone know of a system that can handle that ty ...Show All

©2008 Software Development Network