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

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

yogamnandhu

Member List

Goat Spirit
wanderingmystic
Hooper
Pablo Jord
LearnToRock
killerless
K_L
bennymacca
JasonG271009
sparecycles
Andrew Stanford
Dwebs
Alan.Hill
Michael.Weinhardt - MSFT
Dario Galvani
FredHeida
Viktor78
AsifHameed1
CFIG
onderkoksal
Only Title

yogamnandhu's Q&A profile

  • Visual Basic setting default favlue of a field in MS access

    Hi, I am having trouble in this specific situation. I have a form and I need the drop-down box value to set the default value property of another table. I have seen this done before, I just can't remember how it was done. Any help would be appreciated Thanks, Christopher Custer Christopher.Custer@gmail.com use the connection objects getschema method to return a datatable with schema info from the table you need to access...Use the dropdowns change event to update the datatable and write it back to the db... The default value property will be a property of the "columns" schema in the table the column resides in ...Show All

  • .NET Development How doesThreadPool really work?

    Dear folks, I wonder how to use properly the pool multithread that Framework bring us with the 2.0 version. My goal is to reach three threads running at the same time (as a maximum) and when comes the four one whether are running the previous ones, do a sleep until find a place for that. My schema is the following: If icont > 3 Then If Thread.CurrentThread.IsAlive Then **** This is a four one T_GestorHILOS.QueueUserWorkItem( New WaitCallback( AddressOf PruebaVarios), objeto) ****I wonder about this suspension.. It affects the third or fourth Thread.CurrentThread.Join() icont = 1 End If ...Show All

  • SQL Server Teradata data extension question

    I recently installed the Teradata .NET data provider and I am trying to use named parameters and multi-value parameters in my SQL.   I am finding information on this topic hard to come by.   In order to get parameters to work do I need to write my own Teradata data extension from scratch, expand an existing data extension to work with Teradata, or can I simple edit my .config files to point to a generic extension wrapper already existing   Thanks! You need to implement a custom data extension. In order to have named parameters working, you need to implement your own commandtext parsing algorithm that detects the parameter names. Since the Teradata .NET data p ...Show All

  • Visual C# GetFieldType

    Hi, I have this code, but I am happy with it. Can I improve 1) First option while (DtReaderSqlBase.Read()) { if ( typeof ( DateTime ).Equals(DtReaderSqlBase.GetFieldType(nFields) ) { //do stuff } } I want to compare one type column from database "ODBC datareader" and convert. if data set to field data if string to string and so on............ This code above works, but I don't is the best approach maybe this 2) Second option if ( DtReaderSqlBase.GetFieldType(0) == DateTime.GetType() ) Which one is the best option.......... or no one there the right option cheers, The second code sample shouldn't compile. GetType is an instance method and can not be called on a ...Show All

  • Visual Basic Accessing Windows Forms Class

    I have found the following problem: 1. I have a Form1, which has a non-private constant named TestConstant. 2. I have a Form2, which on Load will retrieve the constant from Form1, using the syntax of Form1.TestConstant. 3. The compiler generates a warning about accessing constant via an instance. Most likely is caused by the default instance of Windows Forms. Any way to remove this warning (by accessing the class not the instance) Hi, have you considered something like using read-only shared variable instead of constant Public Shared ReadOnly TestConstant As String = "TestConstant" Andrej ...Show All

  • .NET Development Performance counters

    Hi, I am trying to figure out how the performance counters work and I'm having some difficulties understanding some of the types. I have a very simple application that creates a counter instance and then I use perfmon.exe to see the values generated by my program. I successfully tried the AverageCount64 type, using the AverageBase. Although I continuously increment the counter I see the average in perfmon, as expected. When I try RateOfCountsPerSecond32 for instance, I increment the counter in the same way, but instead of seeing the rate per second in perfmon, I see the raw value of the counter being displayed. The curve keeps going up as long as my applications is running. Now since RateOfCountsPerSecond32 doesn't have a base typ ...Show All

  • Visual Studio Using a non-standard paper format using printToPrinter in CR for VS2005

    Hi. I'm working on a asp.net Intranet application, and I must print label on a network label printer. There's is no preview, the print job is sent by the server directly to the printer. So far I can print, but I have to made my label format the default format in the printer driver, and that's bugging me. The label are 4in by 2in which is not one of the predefined format in CrystalDecisions.Shared.PaperSize. I want to be able to define the paperSize before calling PrintToPrinter. The CR support web site tell this : ...It is possible to design a report in the Crystal Reports Designer specifying a custom paper size. Once this report is created, it looks and prints as expected on the computer it was designed on. When this same report is ...Show All

  • Visual Studio Weird VS error when compiling pacakge "devenv.com" exited with code -1."

    I recently opened a project to begin working on it after not having touched it for a few weeks. This project is a managed package in C# running on Vista (latest RC). All the sudden, I'm getting a weird error related to the VsSDK.targets tasks that run at the end of compilation. This is the error I get: c:\Program Files\Visual Studio 2005 SDK\2006.09\VisualStudioIntegration\Tools\Build\Microsoft.VsSDK.targets(227,5): error MSB6006: "devenv.com" exited with code -1. I googled this error code and couldn't find any information. This error wasn't happening before and nothing has really changed. The project continues to build correctly on XP. Any info would be greatly appreciated. Cheers, Bobby I believe I've been seeing the same ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpaceWars SceneItem implemenation

    I've been going through the code files for the SpaceWars sample game. I was somewhat confused by the SceneItem class, because it inherits from List<SceneItem>. This throws me off because I wouldn't expect a "scene item" "is a" list of scene items. Does anyone have any insight into the logic here In a minimal scene graph, you always set the position relative to the parent, so if your parent rotates, you will revolve around the parent. Think of a hand holding a sword; when the elbow is moved, the sword hilt rotates around the elbow. In slightly fuller-featured scene graphs, you can set (and get) the position either relative to the parent, or relative to the world. When setting the p ...Show All

  • Windows Search Technologies Deskbar not appearing in Taskbar

    Hello. I installed WDS 2 days ago, and it will not show the Deskbar on the Taskbar. I tried the steps mentioned in previous posts, but they don't work. Resetting the defaults doesn't help, and here is the error message I get when I try to show or hide the Deskbar: "Desktop failed to show- please click the help button in options for information on manually showing the Deskbar." Anybody have any ideas, as I can't find the options its referring to. Thanks for any help, facemate ...Show All

  • SharePoint Products and Technologies User Rights

    Hi, Can I create a user who can add new users to sharepoint site but can not edit the web parts... I'm very new to sharepoint - I tried this by user to Full control but this allowed user to edit the web part.....I'm using the List View WebPart. Thanks Manu Hi I mean to ask you whether you did default installation( domain A/c Mode) or went for Active directory account creation mode installation......... AD account creation mode includes an AD server and kerbores( if needed) ...Show All

  • Windows Live Developer Forums bulk geocoding canadian addresses

    im looking for tool to bulk geocode canadian addresses. will have to geocode over 200, 000 addresses at first then 10-20% on daily basis. steph I'm in a similar situation for Australia but for reverse geocoding. I looked into various web services etc but for thousands of lookup per day you can't use free services and the paid services were not cost effective, not to mention the performance was terrible and the bandwidth used wasn't great. We bought the dataset and will be creating the logic ourselves for performance. For Australia its not cheap but maybe Canada is cheaper, I know the US is free for the tiger data. John. ...Show All

  • Visual Studio 2008 (Pre-release) Orcas Jan CTP does not have the May 2006 LINQ CTP functionality, March CTP should!

    I have seen a few qestions pop up about GetTable() not being public and a few other LINQ to SQL (DLinq) capabilities not being in the Orcas Jan CTP . The Orcas Jan CTP is an interim build which does not contain all the May 2006 LINQ CTP features. Those features are planned for the Orcas March 2007 CTP. For those who are curious about the process, here is how it works: - Each feature, whether shown before in a preview like LINQ preview or not, has to pass a bunch of quality gates. This is an interesting but intense process that takes a while. - As each feature passes the quality gates, it makes its way to a common branch which eventually builds the entire product with several dozen components. - Orcas CTPs are like trains with s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creator's club payment problem

    Hello, I have a problem with adding my credit card as a payment option I guess it's because I live in country that's unsuported by XBox. I've heard that I can call to support so they can add my card themself I tried that but after talking with the bot I am being disconnected. 3 tries cost to me about $10 :(. Then I've tried to write e-mail to XBox360 support but they told me that I need to call in support... So the question... Is there some way to become Creator's Club member by living in unsuported country Somewhere I saw that I can... But how Thanks Hi Yip, edit your live account location to a country that is supported (UK) and go to any UK based website, go to the contact information and get the postal code as y ...Show All

  • .NET Development Dynamic Web Application creating wizard

    Hi, This is to know whether MS Visual Studio 2005 has a wizard to create dynamic web pages. For eg; I already have a database and required table in SQL Server. I would like to create a web application to add/edit/update/view the contents of these tables. Is it possible to create such a web application tool with just few clicks or by just providing the required information. Hi, Yes, such an application can be created very easily: 1- Create a new Website 2- Create a new dataset and drag-drop you Sql Server table in it to create the data layer of the project. 3- Create a new aspx web page. 4- Open the data source tool window. 5- Drag one of the table from the dataset to the web page You can now add, update and delete. You might ...Show All

©2008 Software Development Network