AndrewVos's Q&A profile
Visual C# using the ScriptControl
Hello, I'm using the script control in order to run scripts written in vbscript. The scripts contain calls to c# based COM DLL. I'm not sure why but when I use the script control some objects work fine and other causes excecption in the following lines: object obj = myObject; module = scriptControl.Modules.Add( "MyObject" , ref obj); I think it is something to do with some COM flags I haven't turned on. can someone help Thanks. ...Show All
SQL Server Help me remind me why I never run a package from a package
Hi, For some reason, I stay away from executing a package from a package. I guess that this is because I have experienced issues with this in the past and because I have read some articles in that forum that pin point specific issues when you do this. So far I try very hard to either combine all I need in one package or I break it down in multiple packages and use SQL Agent to drive the package chaining. Does anyone has a better experience with SP2 as far as running child package from parent package is concerned Any bugs remaining out there Thanks, Philippe I'm not running SP2 yet, but I've seen quite a few people start to lean on SP2 as causing most of their recent issues. Please, i ...Show All
Visual Basic Problem with chart viewer
Hi, After migration from VB6 to VS2005, i m still using chart viewer and the following code to draw chart. But the problem is....the chart is not drawn everytime, sometimes it can be generated but sometimes not. And i also face lockLoader error, is it caused by chart viewer cd = CreateObject("ChartDirector.API") c = cd.XYChart(840, 320, &H9999FF, &H0S, 1) Call c.setPlotArea(75, 60, 750, 190, &H99CCFF, -1, &H6699FF, &H6699FF, &H6699FF) Call c.addLegend(10, 20, False, "", 8).setBackground(cd.Transparent) Call c.addTitle("<*block,valign=absmiddle*><*img=star.png*><*img=star.png*> " & "Price Movement For The Past " & cboMonth.Text &a ...Show All
Visual Studio ASP.NET Development Server configuration
When I create new Web Service project and try to run/debug it - ASP.NET Development Server instance are created and I could see results (Web Site on http://localhost:<port>/Site/<WS_name>.asmx ). But - I got the project source from other developer (it contain Form and WebService project which cooperate) and ASP.NET Developer Server isn't starts when I run/debug project.So I cannot see results of my experiments. Furthermore Web Service Project was in unloaded state until I changed IIS settings root folder on this folder with WS directly. It is some configuration changes in project to start ASP.NET Development Server Or same manipulations which allow to see results of remotely created (I mean created by some other develo ...Show All
Visual Basic While code not executed
I have been staring on this code for a while and have been checking out watch window etc. I just don't get why the code doesn't go into the Bold area. Dim data(9,9) as integer Sub Vullen() Dim Rand As New System.Random Dim i, j, k As Integer Dim voorwaarde As Boolean Dim Imin As Integer For i = 1 To 9 voorwaarde = False For j = 1 To 9 Data(i, j) = Rand.Next(1, 9) While voorwaarde <> True Imin = i - 1 For k = 1 To Imin If Data(i, j) = Data(i, k) Then Data(i, j) = Rand.Next(1, 9) Else voorwaarde = True End If Next End While Next Next End Sub Yes it does, I thoug ...Show All
Visual Studio Visual Studio 2005 error - The given path's format is not supported
When I attempt to create a new project in VS2005, I get a dialog box saying "The given path's format is not supported." It's a simple local path on my C: drive, and the folder DOES exist. I browse to a new location, just in case, and get the same error. When I attempt to create just a new file, I get "The operation could not be completed. The filename, directory name, or volume label syntax is incorrect." Just to be pedantic, I'd like to note, I believe that last comma is grammatically incorrect ... I believe that line should read, "The operation could not be completed. The filename, directory name or volume label syntax is incorrect." I had difficulty removing 2003 Ent Edition; I've had difficulty insta ...Show All
Software Development for Windows Vista Binding array parameters to webServiceOutput in a workflow
In Windows Workflow Foundation and using VS2005, I have an interface method (workflow) that Im exposing as a web service: Person[] getPersonList(Criteria) Within the webServiceOutputActivity, I would like to bind the parameter 'ReturnValue' to a defined public variable of Person[] type in my workflow class. Instead of getting the binding dialog, I get a "Person Collection Editor" dialog. This dialog doesnt appear to allow me to bind my variable to the WS output. Again, Person is a serializable type. How do I return my Person array from this workflow web service Hoping to hear from Joel, Chris Sorry - I'm not Joel but ... Click on the blue icon in the property grid next to ...Show All
SQL Server SSIS Deployment
Hello, I would like to know how to set up the SSIS package with the DATABASE, SERVER NAME and Connection String into variables, so that I can change these parameters of the deployement, on another name of server and database (and connection string). Thanks a lot for your advices ! Marie-Therese Basically you have to enable package configuration and then decide where those configurations are going to live. You can use a SQL Server table; XML file; environment variable or registry key. Depending on what you decide; you will need to change the configuration values where thy reside (table, variable, xml file, etc) If you look for 'package configurations' in bol or the forums you will find a lot of reference material. Here is a sample ...Show All
Windows Live Developer Forums Who to ask?
I don't mean to post this issue here but, whom would I get in touch with to have someone's MSN Space blog edited. The problem is slander and profanity. I have used the report abuse link and reported the issue 4 times in the last couple of month's with no answer. I have even politly asked the person to edit it. Thanks, the problem lies within the division part has it returns zero whenever the correct value is less than 1.0 (ie 0.3, 0 . 23 etc) ...Show All
Visual Studio 2008 (Pre-release) Does WCF Support transactions ?
Does WCF Support transactions How would this be done Here is the help topic for this: http://msdn2.microsoft.com/en-gb/library/ms730266.aspx If you dont think it helps you get started, that's good feedback on the documentation for the product team. Thanks! Kavita ...Show All
Game Technologies: DirectX, XNA, XACT, etc. EffecMaterialContent behavior in a custom model processor
Hi, I'm writting a custom model processor and I have some questions about it, if anyone can help me I should be grateful. I'm using MeshBuilder to build my mesh, geometry, texture channels, normals... and this works perfectly. I'm putting my textures with 'EffectMaterialContent myMaterial = new EffectMaterialContent(); myMaterial.Textures.Add(keyname, new ExternalReference<TextureContent>("mytexture"))' method. a) I build my asset model in my game project and the texture is named "mytexture~0" and I don't understand why appear that sufix "~0" if I don't have other texture with this name in my project. b) I would like to know if I must load my model’s texture with 'myCo ...Show All
Visual Basic Good and not good
Please, i have been searching about how to open a folder, but i didnt find a thing. I need the code. ... and if you meant like open it in Explorer Window, try something like: Process .Start( Environment .GetFolderPath( Environment . SpecialFolder .Desktop)) or: Process .Start("c:\MyFolder" ) Andrej ...Show All
.NET Development CLRProfiler crashes aspnet_wp
I'm trying to use the CLRProfiler to profile an ASP.Net application. Somehow, it's gotten into a state where it crashes aspnet_wp. Running the same app without profiling works fine. The event log entries when it crashes are: Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 12/7/2006 Time: 12:46:25 PM User: N/A Computer: AFORS1 Description: Faulting application aspnet_wp.exe, version 2.0.50727.210, stamp 45063b16, faulting module profilerobj.dll, version 0.0.0.0, stamp 436a3905, debug 0, fault address 0x00006860. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . Data:.. [clipped] Followed by: Event Type: Error Event Source: A ...Show All
SQL Server Aggregate Function is not allowed in Standard Server Edition
I'm trying to use None as an aggregate function on a measure but I get an error saying "Aggregate Function None is not allowed in the Standard server edition". The funny thing is that I'm running the Developer Edition. Is the Developer Edition the same as the Standard edition Has anyone else run into this ...Show All
Visual Basic DataSet
Hello, a question please. Example: Dim MyDataSet As new DataSet 1) MyDatSet = .....' Fill MyDataset (The first time) 2) I use MyDataSet 3) MyDataset = ' Fill MyDataset again with the new info My Questions: 1) the MyDataset var will be emptied and filled again with the pass 3 2) the memory will be emptied tot Thanks in advance.... good question, your asking the right questions. I'm not sure however if you create a variable like so in a sub: Dim myvar as integer = 0 then you cant do much about it but let the GC take care of it (in this case if you are no longer/GC sees that you no longer need it or has no other referencing to it in the app it will ...Show All
