Balwant Patel's Q&A profile
Windows Live Developer Forums Reports not being populated?
Hi there, I have setup 2 campaigns through the GUI. Their status reads "submitted". Both contain orders who's status also reads "submitted". However there is no dummy click/impression data getting added each day. The data the campaigns was suppost to start on has passed Is there anything else I need to do to get them running Cheers, Justin. I'm assuming this is for the sandbox environment Unfortunately at this time, we are no longer able to support reporting in the Sandbox. We hope to resolve this issue soon, but it could take some time. A couple of months perhaps. In the meantime, I've posted sample report output on our developer blog: http://adcenterdev.spaces.live.com/ ...Show All
SQL Server The request failed with HTTP status 401: Unauthorized. ReportingService2005
I have programmatically deploy SQL server Reporting Services 2005 reports via msi file. The installation was success, I was able to run the reports on localhost\Reports at the target machine. But I get error "The request failed with HTTP status 401: Unauthorized." when I try to access it from the ASP.NET app report menu in the target machine. It is Windows Server 2003 standard edition, it uses Windows Authentication. I have tried setting any combination below and still doesn't work. Anybody has any other ideas ReportingService2005 rs = new ReportingService2005(); rs.UseDefaultCredentials = true; rs.PreAuthenticate = true; rs.Credentials = System.Net.CredentialCache.DefaultCredentials; or rs.Credentials = new ...Show All
.NET Development Not showing command prompt window on a system() call
Is it possible to not show the command shell while executing a command line executable using the system() call Why doesnt this work - ProcessStartInfo ^myproc = gcnew ProcessStartInfo(); myproc->FileName = "diskpart.exe" ; myproc->Arguments = "/s disk.txt > diskout.txt" ; myproc->WindowStyle = ProcessWindowStyle::Hidden; myproc->UseShellExecute = true ; Process::Start(myproc); The output file diskout.txt doesnt get created. Something is not right.... ...Show All
.NET Development Trying to send a mail via SMTP in VB 2005 - Authorization problem
Hey guys, this is the first time a try to get help from a forum with alot of experts... But i can't handle the problem alone... I try to write a program which sends mails from the users computer but over my account to me... so to the same account.. sound weird i know.. First: The provide is using port 587 Seconde: I need to enter the auhorization, but i don't know how. Here is the code i'm using so far: Imports System.Web.Mail Public Class frmmain Inherits System.Windows.Forms.Form Private Sub frmmain_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim oMail As New MailMessage() Me .Show() SmtpMail.SmtpServer = "smtp.mail.yahoo.de" With oMail .From = "*** ...Show All
Smart Device Development Who has a PPC-6700 Sprint AudioVox Mobile 5 (Can I use GPS?)
I have the Sprint AudioVox PPC-6700 and I know that it has the built in GPS chipset but everywhere that I search I can not find out how to actually access the API. There are a few of the GPS API references throughout msdn & msdn2 but none have an actual walk through. It is very easy to access the phone API's and contact lists/appointments and whatnot but the GPS is not to be found. As far as the GPS is conserned one could argue that it isn't ment to be programmed or something but the fact is that in all documentation it says that e911 can use the gps and also applications that need your location (such as movie times or resteraunts in your location). I really need to find out how to manage this out even with just a simple quord ...Show All
Visual Studio Tools for Office Odd issues with installing & registering Excel app level addin
I'm trying to figure out an issue I'm having with deploying a VSTO SE, Office 2003, Excel, Application Level Addin. It's a bit odd. I followed the deployment steps outlined in a few walkthroughs, including setting up CAS. When I installed the add-in on a separate machines, it simply didn't load when Excel was loaded. I couldn't figure out why. In order to figure it out, I decided to test the installation on my development machine. So I uninstalled the setup package and manually removed the registry settings. This successfully removed the addin. I then tried installing the msi file from the setup project. Checked excel - the add-in didn't load. I then checked the registry, and the settings were indeed there. After doing this a coup ...Show All
Software Development for Windows Vista Unable to compile Audio DSP Plugin in Vista
Hello, I am trying to create an Windows Media Player Audio DSP plugin on Vista. I have created a plugin with the Windows Media SDK wizard and not changed anything. The compiler complains as follows: Cannot open include file 'mediaobj.h' : No such file or directory. I am using the latest (October 2006) DirectX SDK. The include folder does not contain mediaobj.h. I know the December 2004 DirectX SDK does contain mediaobj.h. Any suggestions same Problem! Today I tryed this one and Visual Studio .Net 2005 returned 3 times the error message above! Cannot open include file 'mediaobj.h' : No such file or directory Installation: -> DirectX SDK (Oct2006) -> Microsoft Visual Studio 2005 Pr ...Show All
Visual C# class inheritance and delegates
In the book I'm reading for my MCTS 70-536 (ISBN-10: 0-7536-2277-9) it has a sample exam question about not extending one class and not getting the delegates with it. Is that true In other words, when you have A and it has an event declared in it, and you create B to extend A, shouldn't B get that delegate as well Thanks. PS Yes, I'm a noob, so please forgive the beginner question. Hi, In A if you have event declared with "private" or no-modifier then it will not be available in derived class B as its simply OOPs that cant access private members. But if you have event declared "protected" or "public" then it will be available in B, and the same is applica ...Show All
Windows Forms datagrid odbc
Good Day, I got a table with company details.I am using ODBC to conect to it. I am writing a windows form application in C# 2005 express edition.The task is to search companies. my code is as below. You can not use the @Name with some databases like access. Here is how to add the parameters cmd.CommandText = "SELECT * FROM employee WHERE Name = ;"; cmd.Parameters.Add("", OdbcType.VarChar, 30); cmd.Parameters[0].Value = textBox1.Text; cmd.ExecuteNonQuery(); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MSP (Microsoft Points) or $/£s?
I was just wondering if the XNA's Creators Club item on the Marketplace will be $99 worth of MSP or just $99 Thanks. (I'd assume it'd be MSP) Dollars/pounds/euros depending on where you are. It will be listed kind of like the xbox live account upgrade is now. So you don't need to buy 99 dollars worth of microsoft points then buy the creators club subscription. Not sure why that would ever have worked..... ...Show All
Visual C# Porting RSA Public Key from Java to C#
Hello Everyone! I'm trying to do the following: 1. Generate public/private keys in Java App 2. Send public key to .NET application 3. Encrypt password using public key and send back to Java App 4. Decrypt password in Java App and verify I have developed a test scenario where I am using java to generate and encrypt information, and using the java key in .net to just encrypt information. Checking if both encrypted texts match or not will be enough. What's happening currently is that when the java public key is sent to .NET (as a hard-coded 64string), the encrypted string generated by .NET is not the same as the one generated by Java. In the code below, [ i ] is replaced by !!! :@ Below is the java code............. ...Show All
Visual Basic Turning Beep sound off after enter text in the text box
Below is code Private Sub txtAnHuman_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then KeyAscii = 0 lblEng.Caption = SPI(txtAnHuman.Text) End If End Sub multiline = False. This is the way I have intented I have lots of text box in my application. Need a simpler answer I tried Private Sub txtComm_KeyPress(ByVal sender As Object, _ ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtComm.KeyPress If e.KeyChar = vbCr Then e.Handled = True End If End Sub I got a compile error ...Show All
Software Development for Windows Vista Printing a Canvas
Here is a code snippet that demonstrates several issues I am having creating an XPS document from a canvas and its children. The canvas is displayed on screen and eventually I wish to print the display. // First I find the displayed canvas I wish to print Canvas c = FindElement(g, "ProductBar" ); // I setup my XPS document and writer string fullPath = "c:\\temp\\pudding.xps"; xpsd = new XpsDocument(fullPath, FileAccess.ReadWrite); XpsDocumentWriter xpsdw = XpsDocument.CreateXpsDocumentWriter(xpsd); // Next, I found that I had to give all the elements unique names to stop XpsDocWriter routines // from complaining about duplicate names. // Is this strictly necessary i nt i = 0; UniqueElementName ...Show All
SQL Server Import text files into SQL Server tables
I have created a DTS package which imports text file into single sql server table with 8 columns (SourceData). The DTS package uses 'Test1.txt' file. Now i have around 200 text files (Test1,Test2,.....Test200). I need to import them one by one into 'SourceData' table. Could you pls. help me out in getting solved this mistery. Thanks, Hemal DTS is called "SQL Server Integration Services" in the SQL Server 2005 generation. If you re-post your question in the SSIS forums ( http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=80&SiteID=1 ) the DTS experts that hang out over there could likely answer your question. Thanks, Steve ...Show All
Architecture Data Transfer Objects and Lazy Load
The intent of Data Transfer Object is to get all the data in one call instead of making several separate calls.This is especially true when working with remote interfaces. Then there is lazy load which talks about selective loading of objects as and when it is required. Now when I am applying both these concepts in my smart client application they contradict each other. I am trying to find a balance as to what would be considered a good candidate for lazy load. Since I have an entity which has reference to several other entities. I know that when i am getting data for a particular page I would not require all that is required for the entity and related entities, but would need to only on certain conditions or user clicks or tabs. So if i ...Show All
