Kal100's Q&A profile
Visual Studio Express Editions Test for folder : Drag drop
I'd like to trigger some code if a user dragdrops a folder from explorer. How can I test if a folder is dropped In other words, how can I distinguish whether an entire folder is dropped or just 1 or more files If its a folder then trigger some code... if its just a file or more then copy just those files... Private Sub Form1_DragDrop( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase .DragDrop ' Can only drop files, so check If Not e.Data.GetDataPresent(DataFormats.FileDrop) Then Return End If Dim files() As String = CType (e.Data.GetData(DataFormats.FileDrop), String ()) For Each file As String In files 'IS ...Show All
Smart Device Development Installation problem
Hi, I'm trying run my setup program (for install my program to mobile device) on Windows Vista and this not work because not possible find Application Manager (ceappmgr.exe). I check SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CEAPPMGR.EXE key, but this not exist. Exist any solution Thanks. WMDC will be compatible with existing installation programs ...Show All
Visual Basic What's the difference
Ok folks, so I've got a program that runs code that has a FOTRAN dll that (thank god) I finally have working, for the most part. At least it does when I pass it the path/name of a file that I've created using notepad. Buuuut, that's not gonna cut it when it comes down to it. What I've done is created a GUI that creates an input file for FORTRAN and all it does is write a line of text for each input in FORTRAN. But when this VB written file,written using streamwriter or FileSystem.AppendText (I wondered if there might be a problem with the streamwriter making hidden characters but no), is passed to my FORTRAN dll and the methods native to the FORTRAN code attempt to consume the data, I run into an interesting problem ...Show All
SharePoint Products and Technologies How do I display a filtered view of a list in a sub-site...desparate...
Hi, This is killing me! I read this post , in which things are getting clearer. Here's what I am struggling with: I have Master List in a Exec Site(WSS2.0). I have aseveral sub-sites for each of our satellite offices. I'd like to be able to display filtered views of the Master List applicable to each office in their sub-site. I was able to create a part, paste the list and setup the required filter (in FrontPage 2003). Well, each office still has to have read permissions for the Exec Site and the Master List . That means they can discover the main site and read content they are not supposed to. Is there anyway to pull the filtered data into a list on a sub-site I'd like each office to authenticate themselves to their ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D Engine Using GameComponents and no Scene Manager Design Help
I'm currently working on a small scale 2D engine. I have a simple Sprite:DrawableGameComponent class which loads a texture, rotates, scales, and draws to the screen. I then inherited a Player and an Enemy class from Sprite. (My thinking was that sprite already has most of the data stored that I need for an Enemy class, and I can just add update code for AI in the overridden component update method.) So my first question is this: Is that the wrong way to go about this Would it be better if I had the Enemy class inherit directly from DrawableGameComponent and store the Sprite data inside it Now currently everything works, I have Enemies popping up all over the place and the player moving around. Fun stuff. My next step was adding collision ...Show All
Visual Studio Express Editions Creating Excel File using VB.NET
While creating an excel spreadsheet in VB.NET I get an error at the end of the entire program. Can anybody help The code I am using is shown below: Dim Row As DataRow For Each Row In Table.Rows If Row.RowState <> DataRowState.Deleted Then Dim ExcelRow As DataRow = ExcelDataset.Tables(Table.TableName).NewRow Dim i As Integer For i = 0 To Table.Columns.Count - 1 ExcelRow.Item(i) = Row.Item(i) Application.DoEvents() Next ExcelDataset.Tables(Table.TableName).Rows.Add(ExcelRow) End If Next 'Try Adapter.Update(ExcelDataset, Table.TableName) ' Error Occurs on this line Thanks loginmanish ...Show All
SQL Server DDL Extraction
Does anyone know how to pull DDL create statements out of a SQL Server 2005 EE database for existing objects I'm mainly concerned with indexes and constraints. If possible I can create the statements myself if I can get all of the information out of the databse. Thanks in advance Hi, you can either use the SMO class libraries to use the Script() method on the objects or the GUI of SQL Server Managment Studio which does the same things behind the scenes. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) 3d graph/chart
I need to create a 3d graph similar to woodgrove demo. Do we have separate graph controls available out of box. Suggest me some examples i am unable to get along. There are not yet any commercially available 3D charting components for WPF. Chart FX has an early adopter program set up for their WPF chart: http://www.softwarefx.com/sfxwinfxproducts/cfxforwpf/ That might provide the functionality you need. ...Show All
Visual Studio Team System View file in solution explorer
That's odd, I'm sure I used to be able to double click on an object (in this case a stored procedure) in schema view and it would open for me to edit. Now I just get the menu item 'View file in Solution Explorer' which doesn't work. It just flicks back to the solution explorer and doesn't expand the correct folder or select the correct file. Am I mising something I just tried this, when I double click an object it opens the file for edit, and when I click on solution explorer the file is highlighted. Not sure why you're not seeing this... perhaps try repair in add/remove programs ...Show All
SharePoint Products and Technologies Sharepoint design Question
Hi, We are going to implement Sharepoint 2007. Over the point we are thinking about having 2 Sharepoint 2007 server. One for intranet and internal stuff and the other for the website and extranet. My question is how much flexible sharepoint 2007 is in terms of design and customization. Can we do asp.net programming and AJAX with it or is that functionality disabled. I might sound a bit stupid but the last time I checked Sharepoint 2003 with asp and i was trying to use Includes, it didn't work. Also since sharepoint 2007 have great content management, would it be a good idea to use it for websites as we might have to develop about 3-4 websites. Last but not the least Can we change the design and give the main sites the feel like any ...Show All
Visual Studio Express Editions Making Drawing.Color by seting RGB values
Hello, I'd like to know how to configure new System.Drawing.Color by seting RGB values. I need to make color from 3 ASCII converted chars. Following: sam = 115, 97, 109 to clolor is color.r=115 color.g=97 color.b=109 then I can set to the bitmap pixel with color made that way Now the only problem is, that r,g,b parameters are only readable :/. Is there any way to SET values of color.r, g & b Color.FromArgb method is very useful in this kind of situation. And I think that this works in the way you want it to.. :) Dim myColor As Color = Color.FromArgb(r, g, b) Regards, Timo ...Show All
SQL Server How can i achieve the functionality of External Procedure Transformation(Informatica) in SSIS
Hi, I worked with informatica before and bit new to SSIS, i have one simple question.. How can i achieve the same functionality as External Procedure Transformation (Informatica) in SSIS like..i want to use a DLL in my package which contains some set of business rules. Please let me know. Charles Charles Luke wrote: Hi, I worked with informatica before and bit new to SSIS, i have one simple question.. How can i achieve the same functionality as External Procedure Transformation (Informatica) in SSIS like..i want to use a DLL in my package which contains some set of business rules. Please let me know. Charles Charles, Its possible to build your own custom tasks and com ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D game sample/tutorial
Has anyone released any samples/tutorials/simple games that are 3D for XNA I am really not interested at all in doing anything 2D. I have made some progress making a game with MDX, though I haven't completed it yet. However, I am still having a mental hurdle with how to structure things in XNA. Not having the fixed pipeline isn't helping much either. No there are no visual designers or automatic visualizers with GSE. (though mitch did a demo showing that you can make a game component to do that http://blogs.msdn.com/xna/archive/2006/08/31/734204.aspx ) I suspect once the content pipeline is availalbe (nobody knows when....) then we will se people writing components like this. ...Show All
Visual Studio Deployment - I can't find the template
Hi, I am a DSL - newbie! I just made the walkthrough 'Deploying a Domain-Specific Language'. I tried it several times but after the installation (no errors so far) the template does not appear under Templates in the Visual C# node. Maybe I made a mistake in the InstallerDefinition.dslsetup <installerDefinition xmlns="http://schemas.microsoft.com/dsltools/dslsetup" productUrl="InsertProductUrlHere" defaultDirectoryName="DeploymentTestDesigner" productVersion="1.0.0.0" requiresCSharp="true" requiresVisualBasic="true" productCode="7b0800ad-5105-4b72-b6e9-ffaadb2ddb91" upgradeCode="c8ac4940-e61c-4ea2-ba77-826f6992569b"> <dslPackage name="Dep ...Show All
Windows Live Developer Forums WEIRD Route Instructions
hmmm, this is really weird, i just noticed that if i get a route several times, sometimes it contains (North-East), sometimes (Northeast), the same rule goes for other directions. Sometimes it contains (North), sometimes (north). So i guess they have some little chimpys in a wooden box typing the instructions on the fly, and if cheetah doesnt get his banana, he starts making mistakes... ...Show All
