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

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

PedroCGD

Member List

Phantom208
georgeob
EYSRG
Constantijn Enders
Toni Greco
sroughley
Shruti00
crazy_boss
mark aoki
Hi_4_All
mahima
黃泓量 Jeremy Wong
donkur
mahima
Evan Mulawski
KenWilson
BillP Studios
davidy13
charles C
Piotr Ignaczak
Only Title

PedroCGD's Q&A profile

  • SQL Server date parameter issue

    hi all We are a multi site / multi language company so do not want to hardcode the date format - these reports will be on intranet Using MS Sql - Reporting Services 2005 Using no formatting on fields = yyyy-mm-dd - is how it is displayed. I added a @startdate and an @enddate parameter I read up and saw this information: Report properties set 'Language' setting to '=User!Language' to detect user culture automatically My regional settings are set to English (New Zealand) but whatever I do I receive no data - (data is definately there eg when run without parameters) so it is obviously the dates incorrect. Can someone give me some advice on what else to check. Have you tried the ...Show All

  • Software Development for Windows Vista How do you pass data from an html web form back to the custom form activity (to the XOML only state workflow)?

    Matt/All WF Gurus,   We are creating a custom Form activity that will load a web html form and retrieve results back into the XOML only state workflow.  We can program the form loading in the browser from a custom activity, but are not sure how to retrieve the data from the form directly into the state workflow so that the workflow can persist this data and continue working with this data (from the form).   How can you pass data back from a web form directly into a running workflow during an idle state (XOML only state workflow using WF 3.0)   Any suggestions     Sincerely, John Portnov John, I'd start by modeling the communication using an object or coll ...Show All

  • Visual Studio Remove .NET Language Pack

    Hi Having automatic Windows Update turned on (which I changed after this experience) the .NET Language Pack (German) was installed on my machine and after that half of my VS is german, the other half is english. More than that the german translations are more confusing than helpful. Is there a way to switch back to having everything in english without re-installing VS completely. I have tried to uninstall the language pack - no change. Thanks Alex Thanks for your comments. My problem is different. Not only exceptions are german but half of my menu structure is german, half is english :( ...Show All

  • Visual Studio 2008 (Pre-release) OneWay Databinding not working if we modify target value

    Hi There, Requirement : txt2.Text should update according to txt1.Text always. This is the code I am using < TextBox Grid.Column = " 0 " Name = " txt1 " Text = " dsf " /> < TextBox Grid.Column = " 1 " Name="txt2" Text = " {Binding ElementName=txt1,Path=Text,Mode=OneWay} " /> It works well ( text in the second textbox txt2 updating correctly according to txt1.Text) But as soon as I change Text of txt2 using keyboard the databinding is not working. ie the txt2.Text is not updating as per txt1.Text ) Somewhere I read that we should not change the value of target explicitly.If so how can I implement this scenario Thanks in advance. Joy ...Show All

  • Visual Basic C++ dll in VB help needed

    My vb coding below is wrong but i just want to show what i have so far. the C++ dll works like this it Loads the library, then loads and image, then Recognition outputs the results. There is a C++ example code at the both as to how it works. I'm trying to apply the same steps to VB. Can anyone help me Thanks. this is in a module... Declare Sub XMLoadLibrary Lib "OCRDll.dll" (ByVal LoadLibrary As String) Declare Sub XMLoadImage Lib "OCRDll.dll" (ByVal LoadImage As String) Declare Sub XMRecognition Lib "OCRDll.dll" (ByVal Recognition As String) Private Sub Form_Load() Dim LoadImage As String Dim LoadLibrary As String Dim getRec As Long LoadLibrary = "c:\xmRadio\lib\library.xcl" LoadImage = ...Show All

  • Visual Basic User Control problem

    I have a UserControl which basically shows in a textbox the content of a row in a table relationally linked to another table in a database and also a combobox containing the contents of that second table. This mean that as you travel through the main table you can see what the linked text entries are and have a combobox when entering a new record. I started the table in VB.NET 2002 and upgraded it to VB2005 Express and have been using it successfully for some months.So, it has saved considerable code and added to my VB skills. However, having recently discovered the MaxDropDown size property for the combobox I wanted to add a line to the UserControl to fix the MaxDropDown size to be the size of the records in the table it accesses. T ...Show All

  • Visual Studio Express Editions Background Worker Progress

    Hello, I am having an issue with my background worker's 2nd report progress not firing.  Thanks in advance!   Private Sub GameWorker_DoWork( ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork Wait(2000) GameWorker.ReportProgress(30) Wait(60000) GameWorker.ReportProgress(35) Wait(1000) GameWorker.ReportProgress(40) End Sub   Private Sub GameWorker_ProgressChanged( ByVal sender As Object , ByVal e As ProgressChangedEventArgs) Handles BackgroundWorker1.ProgressChanged Select Case Phase Case 4 Case 3 Case 2 CreateSentence.Hide() Phase = Phase + ...Show All

  • Visual Studio Editor for virtual node

    Hi Guys, My problem is the following in a nutshell : I've created a new project type which can contain physical files and virtual nodes as well. Let's say there is a tree structure displayed in the solution explorer and there is only one XML file behind it which describes the structure has to be displayed. It works fine, but... I'd like to open a virtual node in core XML editor so the problem starts here. I use OpenSpecificEditor method of SVsUIShellOpenDocument service and it seems that this method really requires that the given pszMkDocument parameter could be a valid file path (but I don't have one) and of course this file has to exist on disk, otherwise I'm given an exception. I tried to pass an URL format unique identi ...Show All

  • Internet Explorer Development How to detect tab-change in IE7?

    Hi I'm wondering if anyone knows how to detect when a tab changes in IE My toolbar has to detect when a) A tab changes site (This I already do by Navigate and DocumentComplete) b) When you change between tabs (this I have no idea how to do). I know there is a DWebBrowserEvents2::WindowStateChanged I maybe could use but I have no idea how to use it The only thing I've been able to even think about up until now is to create a thread that runs every second and checks what tab is visible, if it's not the one that was visible last check then fetch the document URL location from that, not that I've even gotten that to work very well... So I was hoping someone might be able to help me out, maybe show me some code on how to achieve knowing when th ...Show All

  • SQL Server When Install SQL 2005 Get "Detecting Installed IIS" message and stuck

    I am installing SQL2005 Develop Edition, it goes to "Detecting Installed IIS" screen and stop there. No error messages, but not moving forward, kinda stuck. I am using XP Professional Service Pack 2, I tried uninstall IIS, got the same result. If anyone knows how to solve this problem, please advice, thanks a lot! ...Show All

  • Windows Forms child form shows menustrip unnecessarily when automatically merging with MDI parent form

    In my windows app I have a MDI parent form and a child form. In my parent form i have Menustrip control with toolstripmenu items File and windows File further has subItems open and exit In child form i have a Menustrip with toolstipmenu item File. This File item has a subItem save and fileItem has the following setting fileItem.MergeAction = MergeAction.MatchOnly; Now automatic merging of the child and parent forms is going rightly after merging my Parent form menustrip has this File with subitems ---open ,save and exit But the problem is my child form is also showing a menustrip with File Item. However it doesnt show save subitem of the File, which is rightly merged to parent File item. I dont understand why the File Item is being sho ...Show All

  • Windows Forms Comparison between WIA & TWAIN

    Dear Sir, What is the difference between WIA & TWAIN driver Please kindly advice the advantages & disadvantages between these two type of driver. We are users of the name card scanners (OCR), which we will use name card scanner, flatbed scanner, webcam & digital cameras to scan/snap image. All these devices are support TWAIN. Thank you. Regards, KokWoei Although this sounds like a programming question, I'm afraid drivers development (and information thereof) is off-topic to these forums. Please post to OSR online for information about drivers and drivers development. Regards, -chris ...Show All

  • Windows Forms Associate Data Source with CurrencyManager ??

    Hi, is there a way to associate a Data Source with a CurrencyManager I'm facing a problem that I have a ComboBox from another table, and need to add the key in the master table. I was using this line of code when I was using BindingSource, but I faced some problems with navigation and the only way I found to solve it was using CurrencyManager, but now the problem is that I don't know how to associate the comboBox with the CurrencyManager. this .comboBox_grupo.DataBindings.Add( new System.Windows.Forms. Binding ( "SelectedValue" , this .produtosBindingSource , "CodGrupo" , true )); I implemented the CurrencyManager using this link: http://msdn2.microsoft.com/en-us/library/system.windows.forms.currencymanager ...Show All

  • Visual FoxPro Passing multiple variables from forms w/ VFP7SP1

    I'm an old Clipper (S' 87) programmer that needs to figure out forms with VFP. The attached code generates a form containing a set of four optiongroups that set basic comm port parameters on the local host for serial communication with an instrument (usually an electronic balance). I'm trying to use the form to replace a series of cascading menus in the original program. My intent is for the form to recognize the 5 existing parameters in the main prg, permit user input and then pass any changes back to the calling procedure or function using a array embedded in the form when the user clicks [OK]. Clicking [Cancel] should leave the parameters unchanged. Can somebody please suggest a technique for passing multiple variables back and forth be ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The woes of boxed objects (and foreach)

    Here's another post by someone who has learned everything through mistakes, not learning it right in the first place . :) I've been working on some nasty GC issues on Xbox360 for some time now, and through RPM and CLR Profiler I've started to make some sense of things, so I thought I'd let everyone in on my experience so that the next guy (or gal) with these issues can have some info. So here's the story: Remote Performance Monitor showed 240 boxed value types per delta. Having no idea how I was creating boxed objects (or what they are), I ran the CLR profiler--as it would happen, I had 4 foreach calls per frame--for a postprocessing effect. According to CLR Profiler, the foreach calls were creating System.Collections.Generic.List<T> ...Show All

©2008 Software Development Network