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

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

BarataMota

Member List

Denis Pitcher
Jeffry Dwight
KRISTER
ChristopheW
TanLU
Christian Hecht
bobby_dazzler
bkustel
bakyelli
Steve Roggow
clint 2
tattoo
helsingfors
Bruce Baker
Jelena
Nothingz
Viru-Cingular
Malleswar
0xDEADBEEF
losdude
Only Title

BarataMota's Q&A profile

  • Connected Services Framework How to call HelloWorld service with parameters ?

    Hi, we are trying to extend the HelloWorld sample. The webservice currently has one function HelloWorld, which returns back a string value. But, what if we modify this HelloWorld service, to accept some parameters also, as below: [WebMethod] public string HelloWorld ( string parameter ) { return parameter; } while making a call, we would write < Route > < Criteria > (ACTION EQ 'http://tempuri.org/HelloWorld') </ Criteria > < Destination > HelloWorldParticipant[http://tempuri.org/HelloWorld parameter="Hello World"] </ Destination > </ Route > But this does not work. Any idea on how to call webservice from ...Show All

  • Microsoft ISV Community Center Forums Visual Basic In Excel - Popup or Splash Screen

    I have created a simple program in VB inside Excel, When processing it takes a while so I created a form to display while processing, how do I get this form to show while the process is going but still allow the previous form to do its work, then the popup (splash) screen closes when the process has completed Nick Getz As you're using the VB within Excel then this is VBA (Visual Basic for Applications) which is a very different product from VB.NET and there are some other locations where you will get a quicker and better response to your VBA questions. These forums are for VB.NET questions. So your off topic for this forum. You may find more assistance in following which specifically deals with MS Office development. ...Show All

  • Windows Forms DataGridViewComboBoxCell

    Hi.. I add combobox in datagridview in this way. DataGridView1(1, index) = New DataGridViewComboBoxCell CType (DataGridView1(1, index), DataGridViewComboBoxCell).Items.AddRange( "1" , "2" , "3" ) So now in the combobox I can see 1, 2, 3 to choose from but how can i do if i want "1" is from column 2 from "table" from Access database And "2" is from column 3 from "table" from Access database and so on for "3" from column4 I mean I dont want to add items manually but instead look up from the database and add accordingly Please help.. Thank you. Now i did CType (DataGridView1(1, index), Data ...Show All

  • SQL Server Querying table2 with results from table1 and displaying data from both tables

    I need help in writing a query. The query should get top 10 items and their values from current year and the values for the same items from previous year table. I was able to write the code for 1st part that gets values from 1st table but I don't know how to get the values from 2nd table. The 2 tables does not have any primary/foreign key relations. Both tables have same structure and same columns. I am attaching some images below to give more information. Image of results from my query. Image of how the final output should look like. The Store Procedure code is: ALTER Procedure [dbo].[free_customsHS4]( @TblName1 varchar(20), @TblType varchar(20), @District varchar(6), @Month varchar(3) ) AS Begin SET NOCO ...Show All

  • Smart Device Development Pocket pc and bluetooth programing start point

    hi i am C# develper i am interesting in pocket & bluetooth programing can any one tell me how to start thanks i have a samsung i750 running windows mobile 2003 SE pocket pc , i am using vs2005 . Start with samples here https://msdn.microsoft.com/library/default.asp url=/library/en-us/wcebluet/html/ceconbluetoothsamples.asp Manav ...Show All

  • Visual Studio Tools for Office Word extraction

    I have a word document that I would like to extract word/sentences that are in a specific custom style. I have written the code to grab the word file but could not figure out how to search by a style... I then thought that I could save the document as a XML document (WordML) and then open that document as a XMLDocument and hopefully write a XPath query to get all of the nodes that meet the criteria. The XPath does not seem to work correctly because the nodes are named with ":" in them. Here is an "short" example.... XML File: < xml version="1.0" encoding="UTF-8" standalone="yes" > < mso-application progid="Word.Document" > <w:wordDocument xmlns:w="http://schem ...Show All

  • Visual Studio Team System Changes since a label was applied

    I'm trying to find out what's been checked into a branch of my repository since a particular label was applied. I'm trying: tf history /format:brief /version:L mylabel ~T /recursive * This does indeed produce a history, but exactly which items are included is a mystery to me - it's clear that it's not what I'm looking for though. I've also tried: tf difference /version:L mylabel ~T /format:brief /recursive . This shows which files have changed, but the output is mostly noise (listing names of directories where nothing's changed).  But what I really want to see is a list of changeset numbers and descriptions - not the list of files that are different. So, what's the secret sauce for getting history since a lab ...Show All

  • Visual Studio 2008 (Pre-release) Media Element Will Not Play.

    I tracked the error down with the on failed error, and I THINK this is ther error: Insufficient memory to continue the execution of the program. I can only say think so because the routed events confuse me somewhat. I'm beginning to think my installation is hosed somehow. I'm not sure how that is though. I restored my laptop to factory configuration yesterday, installed vs, .net 3.0, .net3.0 sdk, orcas in that order. Then I immediately began working on my project and experiencing ide crashes. The orcas designer changes i mentioned in another post have come back, expression crashes upon closing the welcome screen. I cant tell whether my media element not playing is my fault or related to my hosed installation. Can you give me any ins ...Show All

  • Visual Studio 2008 (Pre-release) Timeout maximum value in config file

    What is the maximum value for timeouts, like receiveTimeout for netNamedPipeBinding I'm trying to set as large a value as possible: receiveTimeout="23:59:59" If I set the hours, minutes or seconds to larger, then my app crashes on start-up. I also tried putting receiveTimeout="10.23:59:59" (According to Timespan documentation, the number before the period should indicate the number of days). However, if I set the number of days to larger than 23, I still get a crash -- which makes me think that "10.23" in the above examples is being parsed as 10.23 hours, and then that is added to 59 minutes 59 seconds. So, what is the maximum value for all these timeouts Can tell it to *not* timeout, ever ...Show All

  • .NET Development application.exe.config

    I have the following in the application.exe.config < applicationSettings > < Maintenance.Properties.Settings > < setting name = " LUPattern " serializeAs = " String " > < value > .45 </ value > </ setting > I am trying to get the .45 value using the code : this .label1.Text = "Pattern " + System.Configuration. ConfigurationSettings .AppSettings[ "LUPattern" ]; Which returns nothing. Can anyone show me whats wrong. AppSettings is different than the section you gave. AppSettings maps to the appSettings element and will consist of key-value pairs. ApplicationSetting ...Show All

  • SQL Server SSIS with transaction

    Hi I new in SSIS. I tried to do the simple package with transaction support. I do the sql task wich "delete from TableName" and then i do a simple data flow from one table to "TableName" which i deleted from data before. I wanted to use transaction that in case the data flow collapse the transaction will roll back the delete task of table. But then i exucute my package it stucks like the table is locked. Can any one help me with this package Thanks. Yes i used the package transaction option. In data flow the property of TransactionOption = NotSupported in data flow i make the Ole db data provider and do select query and the destination is a table in SQL server ...Show All

  • Visual FoxPro Backups while files are open?

    Hi all; Anyone does backups while users are logged in and fies are open I would like to implement such backup procedure and I was wondering if anyone had experience with such thing. Is this something I need to implement from within VFP using 'copy to' or sql commands or is there a utility that does this Of course I need to 'lock' the users while the backup is being done, so no data entry is performed during backup... Thanks. Backups are normally done off-hours with everybody out. If you have DBFs and somebody has a lock Windows backup utilities will fail (assuming you use a backkup to tape utility of some kind). Backing up using COPY TO is not the best option and it is slower. It will have the same p ...Show All

  • Visual Studio Express Editions Remove Checkboxes?

    How do I remove Checkboxes from my form below is the code I use to create them (How many depends on what the user types in the two textboxes, one for cols and one for rows) but how do I remove them Should the code be placed inside a button event to clear the form or would it be better to place it in it's own sub ie Private Sub ClearBoxes() and have it called when the user enters a number in one of the text boxes Private Sub MakeBoxes() RSize = CInt(RowSize.Text) CSize = CInt(ColSize.Text) MatrixSize = RSize * CSize ReDim CheckBoxMatrix(MatrixSize - 1) ReDim CheckBoxSequence(MatrixSize - 1) i = 0 For RowCount = 1 To RSize For ColCount = 1 To CSize CheckBoxMatrix(i) = i.ToString Dim ChkBox A ...Show All

  • Visual Basic using OLE Automation (GetObject) in a web service

    Hi everyone, I apologize in advance if this is in the wrong forum :-\ I am having trouble using the GetObject method to access the "handle" of an application through a web service. What I have working right now is the ability of a regular Visual Basic .NET program to access and control the program. ExtendApp = GetObject(, "Extend.Application") That works fine and dandy through a Visual Basic Application. I need to port this code to WSDL. The web service is on IIS on my local machine, as is the application I am attempting to control (Extend). Now when the above code is executed I get this error: System.Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String C ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The values used in the attempt to create the GraphicsDevice were invalid.

    Is this because my graphic card does not support shader model 2 I didn't even know of this requirement till I saw it on the readme file. Time to change my geforce4 I tried that, but I continue to get the same error. I'm just trying to build the basic Windows Game (XNA) project (from File->New). The relevant (I think) code looks like this: private void InitializeComponent() { this .graphics = new Microsoft.Xna.Framework.Components. GraphicsComponent (); this .graphics.AllowMultiSampling = false ; this .GameComponents.Add( this .graphics); } There's no WindowsGame_Starting function in this example. Any suggestions AG ...Show All

©2008 Software Development Network