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

Software Development Network >> divya mittal's Q&A profile

divya mittal

Member List

Wouter Veugelen
samssb
JustbobChico
gars1
BMEMBERG
hOmeR J
Donaghy
radiorus
Frank VDL
Ajai NP
NBryant
dgaynes
Krutika
JTechOnlineGuy
neoret
vej
Uwe82
Denis Pitcher
JumpyXNA
Pritam Dahake
Only Title

divya mittal's Q&A profile

  • SQL Server sqlcmd with trusted connection and IP address or fully qualified hostname

    The command sqlcmd seems to fail when using trusted connection and an IP address or a fully qualified hostname. For example: sqlcmd -E -S nnn.nnn.nnn.nnn where nnn.nnn.nnn.nnn is the real IP address of the machine, or sqlcmd -E -S hostname.domain.com where hostname.domain.com is the fully qualified hostname of the machine, gives the error: Msg 18452, Level 14, State 1, Server 380GX280B05, Line 1 Login failed for user ''. The user is not associated with a trusted SQL Server c onnection. On the other hand, sqlcmd -E -S 127.0.0.1 works, and so does sqlcmd -E -S hostname, or sqlcmd -E -S tcp:hostname,1433. This is on a clean machine, with SQL Server 2005 freshly installed as Administrator with mixed authentication, and t ...Show All

  • Software Development for Windows Vista DirectShow TV

    I recently bought a USB stick to watch DVB-T television. Whilst the hardware is great, the software is appaling. the compnay have told me they use DirectShow. I have looked at the documentation etc. but it is really confusing. Can someone point me to a resource on how to build applications to interface with a BDA compatible DVB-T device, using DirectShow, for people who don't know anything about the subject Thanks. If you have the Platform SDK installed you should be able to use Graphedit to create a Filter Graph that will operate the USB device. Using Graphedit will give you an idea of how a DirectShow filter graph is constructed. Knowing how to interface with a specific device is not neccessarily required ...Show All

  • Visual C# How to create a new object of an unknown/changing type?

    For a couple of days now, i'm stuggeling with the next problem: Let's say i have an abstract class called "car". From this this class i have derrived the classes Audi, Austin, Bentley, BMW etc. abstract class car { /*...*/ } class Audi : car { /*...*/ } class Austin : car { /*...*/ } class Bentley : car { /*...*/ } class BMW : car { /*...*/ } //etc. Now i create an array: car [] cararray = new car [10]; In this array, there can be every derrived (car)class. Now i want to create a new object carfromarray, which has the same type as cararray[0], but i don't want a copy. One way to do this is: car carfromarray; if (cararray[0] is Audi) { carfromarray = new Audi() ...Show All

  • Visual Studio Timeout error while accessing VSS database Via Internet plug-in

    Hi, I developed a web application in ASP.NET 2.0 and added this web application to VisualSourceSafe. I am able to setup my VSS database to access through Internet plug-in. Since my VSS database is on public IP system, I can establish connection from Visual Studio Internet plug-in and I can able to see the folders inside the VSS database. But when i try to open the solution it gives following error after few seconds. Cannot contact the VisualSourceSafe Internet Web Service or cannot access the specified database. The server returned the following error: The operation timed out (0x80072EE2) is there any way to increase time limit or any suggestions on this Regards, Sit. Hi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dependency Analysis and custom tasks

    Hello again; How would I go to use the CheckDependencyTask in conjunction with a custom Task like Convert2JpegTask If Convert2Jpeg was an .exe, the XnaExec would dump dependency informations which could be used by CheckDependencyTask. Would I need to dump the dependency information from the custom tasks just like XnaExec does Is there any helper to do that Thanks in advance! The XnaToolTask is for command line only tools. You can wrap them in a task using XnaToolTask just like you would a ToolTask, see http://msdn2.microsoft.com/en-us/library/ms126394.aspx Right now the functionality you're looking for isn't part of the CTP release, we're looking at implementing this in the future and ...Show All

  • Visual Basic Saving into Excel. If exists Excel. How to open a worksheet. How to edit or format some cells in a worksheet.

    I know i can save text files into text documents, but can i save them into excel spreadsheets IceAngel89, I have no idea if you can save text into excel spreadsheets but you can get a excel spreadsheet built into your program and you'll be able to save it through that I believe. Not fully sure on it. Regards, AliQ ...Show All

  • Visual Studio Express Editions .NET Framework 1.1 or 2.0

    Hi. Wich .NET Framework instal for use with VB2005 Express .NET Framework 1.1 or 2.0 Thanks in advance ...Show All

  • .NET Development VB - C# Reflection Help

    Hi! I am trying to port a VB.NET Dundas email example to C#, but I am not clear on how to convert two lines. VB: '============================================================================ ' Build and send the email '============================================================================ Set objEmail = Server.CreateObject("Dundas.Mailer") objEmail.SMTPRelayServers.Add "mail.myurl.com", 25, "myurl.com" objEmail.TOs.Add " to@ myurl .com " objEmail.FromAddress = " from@ myurl .com " objEmail.Subject = "Sign me up!" objEmail.Body = "Body Text" objEmail.SendMail Set objEmail = Nothing C#: '================================================================= ...Show All

  • SQL Server Start to run a SSIS package

    I have a SSIS package which copies data from Excel file to the database. As soon as the file is copied to a specific location on the file system I insert an entry in the database table, which should kick off the above mentioned SSIS package. I tried to read on WMI Event Watcher Task to do the above thing. I am not sure that I can do something like that. Can anybody please help me out on this If you really want to do this (and I don't think you should) then put the package into an infinite loop and have it "poll" the table to see if there are new records. -Jamie ...Show All

  • Visual Studio Express Editions How can i get my program to email me back some information.

    I'd like to have an error reporting system for my program, and i'd like the delivery system to be email, but i have no idea how to do it. this is how it will go: program errors -> collects information about the proccess runtime(i can do that) and send it to my adress ( wafnor@hotmail.com ) so that i can either send them a personell fix or release it as a patch or in the next version. thanks in advance, Josef Stalin Loads of example but the class/namespace you want to be looking at is System.Net.Mail. This will enable you to send email. You will need a mail server and you may need to authenticate yourself to send the emails but the general code is something like the following. If it doesnt work then do a web ...Show All

  • Visual C# Delay to much

    Well, my app is delaying to much when i open it ! I have discovered that the problem is this command below. So, i would like to run this command in a splash screen, like many programs loads things on it and pass the information to the Form1. How could it be done private void SystemUpTime() { PerformanceCounter pc = new PerformanceCounter ( "System" , "System Up Time" ); //Normally starts with zero. do Next Value always. pc.NextValue(); TimeSpan ts = TimeSpan .FromSeconds(pc.NextValue()); txtUptime.Text = "Uptime: " + ts.Days + " dias, " + ts.Hours + "h " + ts.Minutes + "m " + ts.Seconds + ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Trouble with XNA Game Launcher

    I am having some trouble with the XNA Game Launcher... I have had it up and running since December, but today for some reason, whenever I launch XNA Game Launcher(while signed into Xbox Live) it tells me it could not establish a connection with Xbox Live. So I decided to delete XNA Game Launcher and redownload. When I go to redownload it, it will not let me do so. The download acts like it wants to start, then freezes at 1%. I thought at first something might be wrong with my connection to Xbox Live, but I just started downloading the demo of Alien Hominid, and it is at 97% right now... Anyone else experiencing any trouble at all And never mind...evidently it was a maintenance issue because it is working now. Thanks, ...Show All

  • Windows Forms "Like" Clause is Not Working Using VS and Access db

    I am trying to pull some data in VS2005 from a Microsoft Access 2003 database. I build my own SQL with a "Like" clause. I have tested this SQL in Access(with and without the "Like" clause) and it pulls data but will not pull data via VS. Is there something special that I need to do to use the "Like" clause Here is the SQL "Like" clause: WHERE MANUFACTURER Like '*JOHNSON*' Thanks, cj ...Show All

  • .NET Development System.net Ftpwebrequest FtpWebResponse BUG ????? (Error 530 Not Logged in)

    Hi, I'm trying to connect to an Apple OSX Tiger ftp server to get a list of files, and I always get the "ftpwebrequest The remote server returned an error: (530) Not logged in" error, I have tried to use it with a Windows 2003 Ftp server and works like a charm. Public Function ftpDO( ByVal serverUri As String , ByVal path As String , ByVal xUsername As String , ByVal xPassword As String ) As String Dim retStr As String = "" Dim responseStream As System.IO.Stream = Nothing Dim readStream As System.IO.StreamReader = Nothing Dim Request As FtpWebRequest Dim Response As FtpWebResponse Try Request = CType (WebRequest.Create(serverUri & path), FtpWebRequest) Request.Credentials = N ...Show All

  • Windows Forms Where should I put the global variables?

    Hi all, First step, I created a simple "Windows Form" Form1 project. There is Form1.h, and I have many functions like click(), paint(), buttom_down()...in it. How to pass the variables between these functions Should I use global variables or they are not recommanded For example: The program tries to get the screen size and pass into image display function I will have scr_width, scr_height, img_src_width, img_src_height, img_scr_width, img_scr_height, Bitmap^ img... What is the good way to set up them And the second step will be, I separate the buttoms and display area, should I use two Forms If so, how do I pass these variables between so many functions in two Forms Thanks! ...Show All

©2008 Software Development Network