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

Software Development Network >> Padmaja T Chavali's Q&A profile

Padmaja T Chavali

Member List

Matt McQuillen
COREY H
montechristo
Nishakant
Jubber
Gravy
aamer4u
Alkampfer
StarsFire
Exploder
Shiplu
Alastair Q
Spangltk
Alexey Kuk
Polarbear541
cippyboy
yadgor2000
MarissaM
aCaen
aoky
Only Title

Padmaja T Chavali's Q&A profile

  • Visual Basic Change behavior of how new code module tabs show up in the IDE.

    Let's say you have four code modules open. They show up as four tabs at the top of the IDE. If you go to the solution explorer and open a fifth module, it used to display the new tab at the end of your existing tabs. But now in 2005, it opens the new tab at the beginning. Is there a way to change this behavior back to the way it used to be When I have tabs open, I want them to stay where they are... I don't want them all to get shifted down one position every time I open a new tab. I'd rather have a new tab get added to the end of the existing tabs. WATYF ...Show All

  • Visual C++ vector of records of varying formats

    I have a file with a variety of record formats and I need to create a vector of the records. The only field in common among all the formats is the record type code. I don't need detailed code but if someone could help remind me how to do this I expect to be able to figure out the details. I have created a sample program for myself in which I have a base class and derived classes. I create a vector of the base class and I can add instances of derived classes to the vector. I can't retrieve the items because they are not the correct type. Am I however headed in the correct direction I can of course do something relatively crude such as create an array of void pointers but I want to use a type-safe solution and such. I know this i ...Show All

  • SQL Server The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

    I'm using SQL Server 2005 (SP1) Reporting Services on Windows Server 2003 SP1. I access the report server from Internet using SSL, but the server is not exposed directly to the internet. It is behind a firewall, where the required ssl port is setup and is working fine. In my Reporting Server, the /ReportServer folder works perfect and I can navigate and view all reports. It is the /Reports folder the one that does not work fine. I can enter the /Reports folder, and can list all the reports. But, when I select one of the reports, and it starts rendering, I get the error message: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according ...Show All

  • SharePoint Products and Technologies _layout pages and masterpage

    Hi All, I'm a bit confused here. Is it true that modifying the application.master (which I don't want to do) is the only way to change the masterpage for the _layout pages in Sharepoint 2007 In fact changing all the files themselves is not an option either because it's not supported I was told. So how's the correct procedure to change the _layout pages from your sitecollection Fred yeah, that's it. i compiled the http handler and it works nice! is there an option to do the same with a custom theme i would like to apply my theme on all sites. i think the problem there is, that the masterpages is a part of .net 2.0, but themes are a sharepoint related thing. thx for your feedback! ...Show All

  • .NET Development connectionString problem: "G:\Database.mdb" vs. "\\server\g$\Database.mdb". Why doesn't the first work?

    Hi all First off, I hope I put this in the right forum. I guess the amount of replies will decide that :) I've come upon a problem I can't really understand. We have a WindowsService which connects to a Access97 database. The connection strings are stored in a app.config file. For some unknown reason the connection fails when using "G:\Database.mdb". This is a mapped drive on the computer where the service runs. When using "\\servername\g$\Database.mdb" (notice we are referring to the same mapped drive g), this works. It seems we might be missing a setting or something which I don't know of. Does anyone have any feedback on this Cheers! Under which account are you hostin ...Show All

  • .NET Development getting rid of milliseconds in DateTime

    I've got this situation where I get dated records from an Internet server and logically they should be stamped at 2-sec intervals. Most of them are. However, some of the records have an "update" meaning. They carry one or two fields that are supposed to be used as a correction to the field values of a record to have arrived before. The rest of the fields have zeroes. Those "nonstandard" or out of sequence records stamped by "real time." What it means is they have milliseconds. Milliseconds are superfluous to my task and I've been trying to get rid of them. It does not appear to be easy. What I did first was to subtract them like this: DateTime dateTime; dateTime = dateTime.AddMilliseconds (-dateTime.Millis ...Show All

  • .NET Development Please help - XML check and validation

    Hi, I had generated the xml file and it looks like this < xml version="1.0" standalone="no" > <!DOCTYPE Book SYSTEM "Book.dtd"> <!--This file contains the book information--> <Book> <Science> <Code>1234</Code> <Title>Discovery in Science</Title> <UserCreated>John</UserCreated> <DateCreated>1/26/2007 2:11:11 PM</DateCreated> </Science> <Science> <Code>5678</Code> <Title>Discovery in Science 2</Title> <UserCreated>John</UserCreated> <DateCreated>1/26/2007 2:11:11 PM</DateCreated> </Science> </Book> I ...Show All

  • Windows Forms Locating a program's installation folder

    I have an application that will be used by other applications installed on the client machine if the other applications see that my application is installed. Currently, during installation, my application places a value in the registry that points to the location of my application's executable. When another application wishes to run my application, it can look for this value to locate the executable. This method is all fine and good for now, but we're trying to minimize how much our applications write to the registry. I'm hoping to find a method by which another application could discover the installation folder of my application, perhaps through entries created by Windows Installer during the install process. Unfortunately, I have been un ...Show All

  • .NET Development COM object with CLSID {some hex here} is either not valid or not registred.

    .net 1.1 I have been using CAPICOM 2.1 in my application for some time. Now I had to delete my account and work with anotherone. And my problems with CAPICOM started. (I use very same projects and changed nothing else). I registred CAPICOM again (downloaded newest version from internet and used command [regsvr32 d:\capicom\CAPICOM.dll]) which says, that capicom has been registred properly. But when I try to use it in program, it says COM object with CLSID { some hex here } is either not valid or not registred. No restarts, reinstalls of capicom or reference works. Please, give me a hint. The new version probably uses new GUIDs for the classes in capicom.dll. You need to let the IDE generate a new wrapper that uses these new GUIDs. ...Show All

  • Visual Studio How can i delete everything from a destination directory?

    Hi folks, i've got a pretty simple MSBuild proj file working. It was a Web Deployment project which i've tweaked slightly to zip up the web site code and then copy the web site code to our development web server. all works fine. What i'm trying to figure out is how can i delete EVERYTHING from the development web site folder before i do a copy over eg. \\DevWebSiteComputer\WebSiteShare That share folder has some files in it and some folders with files in it (eg. \images, \bin, etc). How can all that be deleted, please Hmm - that sorta sucks a bit - having to tell the build to ignore the warnings/errors. It sounds a bit hacky :( I can get all the files in the root directory fine, and therefore delete them. I ju ...Show All

  • Visual Studio Team System Bug (I think) on writing updates from Schema Compare

    Hi, I have deployed a DB from datadude and then made changes to the deployed DB (tables and sprocs) and I want to use Schema Compare to sync the changes back to my datadude project. Schema Compare picked up all the changes without any problems and I then clicked on "Write Updates". All the changes were written to the design database and thus a refresh of schema comparison said that there were not any differences. So all looks OK. However...when I look at all the .sql files in "Schema Objects" none of them have been changed. Note that all of my .sql files are under source control and are not checked out. Source Control system is TFS. Any comments Surely all the .sql files should all have been chang ...Show All

  • .NET Development Generating random numbers and Retreaving them in other forms in C#

    I admit it, this probably has been answered half a google times before in other threads, but I have not been able to find exactly what I'm looking for. I'm trying to make a rpg (hence the need for a number generator). But, I need to be able to have the spread of the nembers to be between 1 and 20, for example. Then, I need to call these numbers latter on. Obviously I'm learning the language and trying to modernize myself (I've only worked with QBASIC beore!) Can anyone help Oh yeah, I should mention that a psudorandom number would suffice. I have made something like that. here is the code I used to make a dice roller for a D&D game. using System; using System.Data; using System.Configuration; ...Show All

  • .NET Development Warning: There are updated custom wrappers available for the following referenved components: Office.

      Hello everyone, I converted a vb.net 2002 project to vb.net 2005 and I continue to get the warning message: There are updated custom wrappers available for the following referenced components: Office . If I dbl-click on the message I get: One or more custom wrappers for COM components have been installed on your machine after you added references to those COM components.  These wrappers may provide additional capabilities not offered by the auto-generated wrappers currently in use. Do you want to replace the auto-generated wrappers with the custom wrappers   If I click YES then I get 102 ERRORS++. If I click NO then the project runs just fine but the warning shows in the IDE. Without turning ...Show All

  • Visual C++ Declaring a delegate

    How can I declare (not define) a delegate as if I declare a class Sorry einaros.. I should say that you're not solving my problem. You just change the definition of some words I used. Declaring a class is to declare a token that is the name of a class. When I say declaring a delegate, it is to declare a token that is the name of a delegate. ...Show All

  • .NET Development Detect Console / Win app

    Is there a way to detect from a dll what was the calling ontext Was it console app or win app Thanks Avi I thought of another way, looking at the properties of the EXE's main window. Specifically the class name. If it is a console mode program, the main window's class name is "ConsoleWindowClass". I'm not sure how reliable that is but it is nice and quick: <DllImport("user32.dll", SetLastError:=True)> _ Private Function RealGetWindowClass(ByVal hWnd As IntPtr, _ ByVal lpString As StringBuilder, _ ByVal nMaxCount As Integer) As Integer End Function Public Function IsConsoleApp() As Boolean Dim proc As Process ...Show All

©2008 Software Development Network