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

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

DanBayley

Member List

smilertoo
progames25
HirenK
Hongxue Cai
Leo Liu
Readan
Sparklight
moorelg
tkohrs
JazzGeek
Gpg
Kartit
voxanBoxer
accident
Ty Y
Albert_Khor
anders_sms
Naveeeen
Crazy Engineer Kid
Sigfuss
Only Title

DanBayley's Q&A profile

  • SQL Server Passing multi value parameters to CreateSubscription

    Hi folks, I am trying to create a SSRS subscription from an asp.net app. I collect the parameter values from the client and make the arrangements to send them to the CreateSubscription method. When the report has single value parameters, my code works perfectly. But if there is a report param with multiple values, I get the error System.Web.Services.Protocols.SoapException: Default value or value provided for the report parameter '<paramName>' is not a valid value My parameter is string type and supports multiple values. I am passing the following string as its Value: AVA,BEL,CAL,CAP,CCA,CEL,COC,COM,ECE,EDT,EMC,EMT,EPB,EPC,EPM,EPO,EPS,ETB,MET where each element separated by comma is a valid param value. Here’s t ...Show All

  • Software Development for Windows Vista StateMachineWorkflowInstance ASP.NET error

    I am attempting to use State Machine with ASP.NET. I am using StateMachineWorkflowInstance to get information about the active State when the ASP.NET page is initialized and again just before it renders. Placing CallExternalMethod activites in the Initialization activities causes me to get an exception when I try to get a StateMachineWorkflowInstance . Workflow with id "fea28637-6d1f-4244-a560-6f49084f3a53" not found in state persistence store. The error shows up when I handle an event in a State that then executes a SetState and the new State has an Initializer with a CallExternalMethod. From my 1st to my 2nd state this does not appear to be a problem, but from state 2 to state 3 it is not working and I get the except ...Show All

  • Windows Forms TextBox validation

    Hello all, I can't seem to find an answer to this question, although there are many similar questions. I want to perform validation in a TextBox (on a Windows Form) which is bound to a DataTable. In my case the validation itself is simple. I can hook the event handler for the 'Validating' event, and I can determine if the text is valid or not. However, when I set the 'e.Cancel' property to true, the bound DataTable still gets a 'ColumnChanged' event. It seems that setting the Cancel property to true doesn't really cancel anything. How can I prevent invalid TextBox entries from getting to the bound DataTable Thanks, Ken Well, due to timeline I just performed validation differently. I ...Show All

  • Windows Forms Open form asynchronosly with reportviewer?

    Hello I have a form that is mdi container, I drop a menuitem, when I click the menuitem it opens another form which has a reportviewer control, this reportviewer is bind to a report, but that report takes some seconds to load the parametes and it locks both forms, is possible to open it while its still loading the report viewer How can I achieve this with c# the only code I have in the app is this private void reporte1ToolStripMenuItem_Click( object sender, EventArgs e) { FrmOcupacionDisco frmOc = new FrmOcupacionDisco (); frmOc.Show(); } Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on. private void reporte1ToolStripMenuIt ...Show All

  • Visual C++ Smartbridge Alerts

    I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin Andy I have the same situtaion IE 7(not beta) SBC DSL provider. Smartbridge motivesb.exe psapi.dll error right after startup How did you indentify the correct file Thanks Larry ...Show All

  • Visual Studio Visual Studio Analytical Services

    Hi, I am trying to build up cube using facts and dimensions tables from SQL Server 2005. I am using Visual Studio 2005 Analytical Services. I am facing problem in getting the YTD function in the Analytical Services. I have tried out the following: 1. Implementing the Business Intelligence wizard to get this function 2. Using YTD() as a function. Please suggest me some way to solve this problem. Thanks and Regards, Sakya ...Show All

  • Visual Studio Team System Finding tutorial for VS Developer news...

    Where can I find whats new for a developer that have the Developer edition of VS 2005 I need tutorials, videos, books... All tips are welcomed! Hi, Check out this site http://www.learnvisualstudio.net/ Regards Arvind T N ...Show All

  • Windows Forms Resizing Forms & COntrols

    Can someone tell me which forum to post this to please..... I'm just starting to rewrite an existing system in VB.net 2005. It was originally created in VB3 ! - for 640 x 480 monitors, and very fixed in format. I want to create the individual Windows forms so that they can still be used at this resolution (as we have existing clients with old kit) - but won't others to be able to size to as large as they want - but retain the look of the form - ie resize everthying on the form in proportion to the window. Just resizing the form tends to leave big gaps and makes the whole thing ugly. Better still would be to create the new ones in 1024 x nnn and allow them to resize smaller - keeping everything there but at a smaller font. Any help ...Show All

  • SQL Server Automated restart of Analysis Services

    Hello, I need to put the Analysis server in local mode only while my jobs process cubes on Saturday morning. I can script the property but I do not know how to automatically restart the service. Any idea Thanks Philippe < Alter AllowCreate="true" ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <Object /> <ObjectDefinition> < Server xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/ ...Show All

  • Visual Basic Simulate a mouse click in a program

    I have a VB program and I need to simulate a mouse click in a webbrowser window. How would I go about simulating that click on the screen. Thanks Hi Everyone, I know this is an old topic, but I reveived alot of emails on this subject since i wrote it more than one year ago, in fact, I'm still receiving messages on this subject. So let's solve this once and for all by posting the right declarations for the API. Thiw WILL WORK fine on VB 2003 and VB 2005: Public Declare Auto Function SetCursorPos Lib "User32.dll" (ByVal X As Integer, ByVal Y As Integer) As Integer Public Declare Auto Function GetCursorPos Lib "User32.dll" (ByRef lpPoint As Point) As Integer Public Declare Sub mouse ...Show All

  • Visual C++ Active-x Control

    HI Friends, I am creating a Active-x Control. I am getting Problems Regarding the linking of Butttons In my Active-x Control. I need to know how to link these buttons in my Active-x Control. Plz help in resolving my poblems. Please see your other thread on the proper use of this forum.  Thanks. Your other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1289506&SiteID=1   ...Show All

  • SQL Server Error with restoring Backups

    I recieved 4 database's that were backed up from our client. They are using SQL Server 2000 and each of the files has no extension. When attempting to restore a database of the same name in SQL Server Express 2k5 I recieve the following error. System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided Is there a way to restore the backup without the log backup Thank you -Robert- Hi, i just guess that you don’t have a full backup specified here. YOu will have to pick the Full backup and apply the Diff. backups or transactional backups afterwards. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Delegates: how to pass them?

    Hello, I want to create an object which can be parametrized by any function, and can run this function in another thread, like: AsyncCalculation<int> = new AsyncCalculation<int>( ..here is a function ..); I cannot use specific delegate because it is up do developer to decide which function with which parameters he/she wants to use. So I decided to use my own invoker which can return a result. Here is a code: public delegate T Invoker <T>(); static void Main( string [] args) {     List < Invoker < int >> list = new List < Invoker < int >>();     for ( int j = 0 ; j < 10 ; j++)     {     &nb ...Show All

  • Smart Device Development Updating a textbox with a string variable???

    I am trying to a write a program that connects to a GPS receiver and displays the NMEA results on the screen. I am receiving the information from the receiver but when i try to assign the information to a textbox or a label, i get a message about 'control.invoke' i am not sure what this means, or how i can get around it Thanks in advance for any help. Regards Paul Smith Imports system.IO.Ports Imports system.IO Public Class Form1 Public brate As String Public comport As String Public status As String Public nmea As String Public nmeasplit() As String Public sid As String ' Performs Connection to Serial Port when button is clicked Private Sub TabP ...Show All

  • Windows Forms WebBrowser control and Server Errors

    Hi Guys, I'm trying to find out if there has been a server error when trying to request a page within a WebBrowser control - does anyone know how to check the status of the request I'm assuming i'll have to check the status of the request within the Navigated event - only thing is i'm not sure how to retrieve the request status number e.g. 404 or 500 Does anyone have any ideas Kind Regards, Chris Usually the title is set to 404 - ...   <title>404...</title> I'm sure there'd be a better way though. ...Show All

©2008 Software Development Network