polymorphicx's Q&A profile
Visual Basic Statup in Vb.net 2005
I'm not able to assign Sub Main() as the start up for my windows project in VS 2005. It is taking a form by default. Is there any way of calling sub Main as startup instead of the form When i click on 'View Application Events' button, I get an empty Applicationevents.vb! Here are the setting for my application: Application type: Windows application Startup form: frmMain Enable application framework - checked Under 'Windows application framework properties': Enable XP visual styles - checked Make single instance application - unchecked Save My.Settings on Shutdown - checked Authentication mode: Windows Shutdown mode: When startup form closes Splash screen: (None) What ...Show All
SQL Server Different data types
I have successfully made a couple of SSIS packages to read data from a legacy AS400 to SQL Server 2005. These are working fine. I am now working on one that is trying to pull some financial data and I keep getting the following error for the decimal columns: "The component ciew is unavailable. Make sure the component view has been created. The input column "input column AMT1 (2870) cannot be mapped to "external metadata column AMT1(2852) because they have different data types." Now I made sure that the data sitting on the AS400 is of type decimal and the SQL server column is the same. What else do I need to look for Thanks for the information. Go to the advanced editor of the s ...Show All
Visual Basic controls PLEASE HELP
is there a way to make it so that a may program can interact with oter programs like changing songs in windows media player or internet explore How would i do this I know that some programs let oter program interact with them like windows meadia player and it has somthing to do with com. Thats all I know ...Show All
SharePoint Products and Technologies Separate Association and Initiation forms - 2 solutions
Hi, I have a workflow that uses three forms, one for association, one for initiation, and one for edit task. When I first associate the workflow with a list, the association form opens correctly with the pre-defined association data that I passed to it. The problem is, when I try to instantiate the workflow on a particular document in the list all I get is the message, "The form has been closed." When I looked in the logs it looks like the Initiation form is looking for the association schema and not finding it. I know the association data is passed to the initiation form, but if the schema is available for opening the association form why isn't it available to open the initiation form Is there something I'm not specifying in ...Show All
Visual Studio 2008 (Pre-release) wsHttpBinding IIS Integrated Windows Authentication set up not working
My WCF sercive is hosted on a Windows 2003 Server through IIS. I hvae installed a certificate on the server. The directory security for my virtual directory requires SSL (128 bit encryption not required), ignores certificates and uses 'Integrated Windows Authentication' Here is my web.config < xml version="1.0" ><configuration xmlns=" http://schemas.microsoft.com/.NetConfiguration/v2.0 "> <system.serviceModel> <services> <service behaviorConfiguration="credentialConfig" name="WCF.Server.FileTransfer.Services.FileTransfer" > <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBindingForFileTransfer" con ...Show All
Internet Explorer Development Protecting/Backing Up Internet Explorer History File
In an age where it seems like everyone is wanting to ERASE their internet history files, I am seeking to back them up to another file name, or preserve them in some way against arbitrary erasure. My children are inquisitive and sometimes visit inappropriate web sites. They are aged 12 and 15, and both have been computer literate since about age 3 or so, and especially since they learned to read at age 4 or so have become (as you could imagine) quite instinctive about computers and their many uses and possibilities on the internet. With this comes the natural curiosity of a child, visiting inappropriate sites, downloading adware, and the problem that they have learned how to cover their tracks in Explorer, by erasing either the entire histo ...Show All
Visual Basic Passing variables between forms
My program has several forms in it. There is a form that has some buttons and when i click each button i want text to generate from that button to a textbox on another form. If you know anything about this i would appreciate it. Thanks!! take a look at this and you can modify it easily to set the values of a textbox on this other form when "passing" variables http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760400&SiteID=1 so on your second form you can make a public property: public property SomeText() as String get return Me. theTextBox.Text end get set (ByVal value as String) Me. theTextBox.Text = value end set end property then on your ...Show All
SQL Server How to format prediction Expression
hi, when i make use of predicton functions, the output is formatted in its own.But I want to format that.How to do that Thanks, Karthik. hi Shuvro, Thanks For your reply.Is it possible to format the resultset returned from a prediction function. For Example,In this query, select PredictTimeSeries(Performance,5) FROM [Stud_Model] I am getting the resultset as Expression.$Time Expression.Performance 200611 90 200612 95 like that. I want to give my own columnnames as Year and performance.how to do that Thanks, Karthik. ...Show All
Software Development for Windows Vista Custom rendering of out-of-the-box activities
I am trying to customize the Workflow monitor application so that it shows the activity description instead of the activity name. I modified the code for the IDesignerGlyphProvider OnPaint and acheived partial success and I am wondering if there is a better way to achieve that goal. What I meant by partial success is that I had to do lots of calculations to draw on the surface of the activity. I thought things could have been easier if the user has one of the following the options 1- A designer property – let’s say a Boolean UseDescription -- to allow the developer to render the Activity.Description instead of Activity.Name Or 2- An OnPaint event that gets fired for each a ...Show All
SQL Server Drillthrough returning sets of duplicate rows
Drillthrough appears to be showing multiple rows for each single record that should be displayed. For example, in my fact table, there is a single record for each trip. The following MDX query returns a single cell with a trip count of three. SELECT NON EMPTY { [CP Date].[Date by Month].[Year].&[2002] } ON COLUMNS , NON EMPTY { [Commodity].[Commodity by Type and Group].[Commodity Type].&[Other] } ON ROWS FROM [Barge Trip] WHERE ( [Measures].[Trip Count] ) 2002 Other 3 If I drill through on that cell, exactly three records should be returned. However, in actuality, 12 rows are returned - three sets each having four identical rows. To drill through, I am simply adding the D ...Show All
.NET Development Is it possible to Upload a file and other form fields on the same WebRequest and how?
Here is a snippet of the code I used to upload a file with other parameters. I wonder how can I upload a file and other fields on the same request . Pls help me with code not just comments. myWebRequest = WebRequest .Create(" https://www.a.com/Upload/sfmupload.asp " ) as HttpWebRequest ; myWebRequest.CookieContainer = cc; myWebRequest.Method = "POST" ; myWebRequest.KeepAlive = true ; myWebRequest.AllowAutoRedirect = true ; myWebRequest.Timeout = 100000; //myWebRequest."transType=1&File1= string uploadfile = @"c:\projects\SUBMIT.003" ; string boundary = "----------" + DateTime .Now.Ticks.ToString( "x" ); myWebRequest.ContentType = "multipart/f ...Show All
Visual Studio Team System Team System Source Control Get /all not working
I am attempting to write a batch file that gets all source control for a project even if it has been gotten previously or deleted. I am following these steps 1. Unmap the local location from any workspaces. 2. Create a new workspace. 3. Map the server folder to the local folder for this new workspace. 4. Execute the following command tf get Legacy\Business\Utils\utilities\basMain.bas /version:L12.00 /All 5. Delete the workspace. Even when the local file has been deleted TFS tells me the file is up to date. I am basically trying to mimic checking the IDE Get Specific Version with both the "Overwrite writeable files that are not checked out" and "Force get of files that are already in workspace" ...Show All
Visual Studio 2008 (Pre-release) [Serious BUG] WPF doesn't paint anymore (lost DirectX ?)
I was upgrading my application to the latest bits (June CTP) when I encountered a very strange bug. My application first loads a NavigationWindow, and let the user toy around with some menus. Then, the window gets closed and a "regular" Window shows up. When the "regular" Windows gets closed, my application creates a new NavigationWindow and shows the same menus as before to the user (who has an option to quit). There's a huge bug in WPF with the third step (which was working in the previous build - beta 2 I think). The NavigationWindow shows up, but its contents don't paint. (more precisely: I get the "hall of mirror" effect, which you get when you forget to write your WM_PAINT handler in a non-WPF applicatio ...Show All
.NET Development Need good beginners book on Web Services in .NET
Can anyone suggest a good introduction to Web Services book for .NET developers (preferably in C#) So far, it seems that "Programming .Net Web Services" from O'Reilly is the best I can find but it is from 2002 and I am afraid that is too old. All our developers are on VS2005. "Microsoft Press" issued a good book about webservices, but I don't remember the name, year and level.. Just colors of the cover :) Anyway, as a beginner you can use ASP.NET QuickStart ( http://quickstarts.asp.net/QuickStartv20/webservices/default.aspx ) - there is a really good introduction to WebServices. ...Show All
Visual Studio 2008 (Pre-release) Security timestamp problem
Hi, I have a service with "message security". When I try to connect to server I receive this error : "The security time is invalid because its creation time "15/01/2007 13:39:40" is in the future. Current time is "15/01/2007 13:34:27" and allowed clock skew is "00:05:00" The date/time in both (Client and Server) are same and isn't "13:" but "10". In the server is "en-US" and in the client "pt-BR" so GMT -3 is correct from client but I'm using the same date/time in both. Why WCF uses it if we can connect from diferrent culture with diferent data/time In others computer all work fine...one using "pt-BR" and other "en-US". ...Show All
