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

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

Spoofer

Member List

J M B
robinjam
rcen
Dylan Smith
aggrothingy
NBaig
Rabbitrun
Josh Kinder
Dlloyd
Sergio Ordine
tenchyz
pmak
fotis8
Sianspheric
rhinoishere
joeydj
Polarbear541
S_A_S
Mohamed Sami
Mark Cosgrove
Only Title

Spoofer's Q&A profile

  • SQL Server Multi-value parameter cannot be passed to SQL where clause (Oracle db)

    Greetings!! I have a problem with SSRS 2005 (simple rdl) on Oracle10g environment. PROBLEM Definition We have multi-valued list box , the selected values of which are being passed as parameters to Oracle 10g (back-end) from the report. I want to be able to pass these values as "WHERE......IN" clause in the main query in SSRS dataset window responsible for loading report. However, when I do that it throws error. I have tried all possible combinations i.e using IN operator with '@', ':' , '&' . Now when I did the same with SQL server as back end; it worked. Can you please help with the exact syntax of executing this successfully Sample Query used in sample SSRS data-set when SQL server ...Show All

  • .NET Development how to download a file ?

    Sir, I want to know that how to download a file from URL using C#.NET. I do a coding for the application about Download Manager,but at the time of downloading a file ie to save the file, the file is saved at its specified location ,but all files are corrupted. So tell me that what type of coding i can do in C#.NET. 1) I develope the application for download manager on a PC, on which XP Service Pack2 is installed. Sir the coding for the download manager i used is as follows private void button1_Click(object sender, EventArgs e) { WebClient client = new WebClient(); string name1 = saveFileDialog1.FileName; this.saveFileDialog1.InitialDirectory = System.Reflection.Assembly.GetExecutingAssembly().Location; this.sav ...Show All

  • Visual Studio Express Editions Application to generate MS Word document?

    Is it possible for a C++ application to generate the MS Word *.doc files For example, if I had a form with two text boxes and a button on it. When the button is clicked, would it be possible for the program to make a new MS Word document that has a 2 cell table with the text box values in each cell, and save this Word file to the current directory If so, any pointers to the libraries to use or whatever tools I would need would be greatly appreciated. Thanks in advance I tried the code above and changed it for word 2002 // openword.cpp : Defines the entry point for the console application. // #include "stdafx.h" //#import "C:\\Program Files\\Microsoft Office ...Show All

  • Visual Studio 2008 (Pre-release) Replace scrollbar with slider in ScrollViewer

    Hi All, I have a control template for a ListBox and I would like to change the scrollbars on the ScrollViewer. I've been playing around with the Styled ScrollViewer template so I'm OK with changing the basic appearance of the scrollbar. But, I would like a scrollbar with no repeat buttons, which would seem to pretty much make it a slider. Can I replace the scrollbars with sliders or should I just focus on removing the buttons instead Thanks, Chris You can restyle ScrollBar to look like a slider but ScrollViewer expects to find ScrollBars in its template so you won't be able to use a Slider directly. I've slightly modified the sample ScrollBar template from the SDK (at http://msdn2.microsoft.co ...Show All

  • Visual Studio Can't debug ASP in VS2005

    VS2005 doesn't seem to support debugging ASP pages. Is this really so That's a serious problem if it is. Thanks Jeremy We have made the decision in Whidbey not to explicitly support ASP debugging anymore. This is because we expect more and more customers to swithch to ASP.NET. However, actual support is not totally cut, it's just not that obvious. In order to be able to debug ASP sever side script you have to: 1. Enable script debugging for you app's virtual directory in IIS manager (In the Property dialog for your v-dir, go to the Directory tab, click on Configuration, go to the Debugging tab and check both debugging flags the reset IIS to apply the change) 2. Then load your ASP page in IE and attach the ...Show All

  • Visual Studio 2008 (Pre-release) Data Binding To SQL Server

    I have written the following code to bind to a SQL Server Data Source: < DockPanel.Resources > < SqlDataSource > < DataSource x:Key = " WeekPeriods " > ConnectionString="server=RMUK7;Database="tempdb" SelectCommand="SELECT Weekly_Period FROM d_WeeklyPeriods" </ DataSource > </ SqlDataSource > </ DockPanel.Resources > I would then like to bind the data to a Combo Box. However when building the project in VS2005 I get the following error and also how would I then bind the results to the Combo Error 1 The tag 'SqlDataSource' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 20 Position 10. ...Show All

  • Visual Basic rich text box control cannot paste.

    rich text box control cannot paste when i select any thing(it may be image or text from internet explorer) and paste it in a msword it has got pasted including image and text when i do the same copy paste in my application which contain the richtextbox control i am unable to paste the images and i can paste only the links of the images can any one help me in pasting the images and text is there any other way to do this other than downloading the file my requirement is to simply copy the content from the brouser and paste it in the rich text box and it should appear similar to how we copy and paste in the ms word plz help me thanks for ur code dustin ...Show All

  • Visual Studio 2008 (Pre-release) how to mark DLinq support other databases?

    DLinq is just the solution for me to access data, but it doesn't support other databases now. although i try to use reflect to change SqlBuikder in SqlClient, but in many places, codes wrote like this: new sqlparameter(...), it's depend on sqlclient's object. i have wrote a SqlBroker component, it can parse ansi-sql string, and translate to native sql, My ORM also use it to access data, so i don't care of database plateform in ORM.(DLinq use c# 3.0 syntax and generate most effective sql, so My ORM is dead :( ) will DLinq release component like my SqlBroker, otherwise it's too much works to implement IDBContext like SqlContext. but if use sqlbroker, only implement ISqlTransltor, and i also provider TranslateBase class to reduce thi ...Show All

  • Visual Studio Tools for Office Error in AddIn After installing using .msi

    I published the project, signed, checked prerequisites and i got a .msi and setup.exe now when i install the addin using this .msi i am not getting my addin loaded in outlook. this was was error shown when i selected that after clicking the COM Add Ins button in outlook. Not loaded.A runtime error occured during the loading of the COM Add-In. But the same application works if i run it directly from Visual Studio Please help. how can i make msi properly Another good resource for creating a complete setup is the new book "VSTO for Mere Mortals." The chapter on deplyment consolidates all of the information that is available on MSDN. ...Show All

  • Windows Forms Need to get the .MainWindowHandle

    I am trying to get the mainWindowHandle and store it for later; however, i can not seem to get the handle back from the new process. Before someone suggest , i will let you know that i have also tried the p.WaitForInputIdle(); however, this not only does not work it will throw and error..   private IntPtr mainHandle = IntPtr .Zero; private void button1_Click( object sender, EventArgs e) { Process p = new Process (); ProcessStartInfo ps = new ProcessStartInfo (); ps.FileName = "explorer.exe" ; ps.Arguments = "" ; p.StartInfo = ps; p.Start(); mainHandle = p.MainWindowHandle; } Can someone tell me how to get the mainWindowHandle   Erik I added a Thread.Sleep( sleep time ...Show All

  • Visual Studio 2008 (Pre-release) How to change font color in chat application

    Hi, I have made chat application in XAML.When I use that application I can send message only in plain text format.I have used textbox to write sender's text and RichtextBox for Receiver Text.Here is the code for that. TextBox name txtSend and RichTextBox name rctReceive on 'send' button click code is function name send ***************************************************** string message = txtSend.Text; send(string message); rctReceive.AppendText(string message); ***************************************************** I want write colored font Text in TextBox and Same colored font Text in RichTextBox in receiving side. If any one knows please let me know. Thanks, Pavan I ...Show All

  • Software Development for Windows Vista StateMachine WorkWlow

    Dear sir Can I do sequential task Inside the StateMachine WF. And Which Activities are Support for state WF. We developing An web ased project, So we want to known which things will Support us Regards vijil craftsilicon.com Thanks Now I Updated the June ctp.. But I still having that problem And another one thing, I download the sample ExcepenceReporting from Workflow SDK. The sample is created in Beta 2.2. While Trying to run that application, I get one error "No endpoint listening exception" comming. "EndpoiontNotFoundException " please help me vijil ...Show All

  • Visual Studio 2008 (Pre-release) Providing alternate styles for a control

    involved_Mike_Brown wrote (at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=490249&SiteID=1 ): "What you want to do is create two named styles within your control's generic.xaml. After your control is initialized, set its template to one of the styles. If you want to change the style, load it from the resource dictionary and set the control's template to the new style."   Hi Mike, Could you explain this step a little more fully Practically all of the examples I have seen relate to themes rather than skins. The only skin example I have seen is the format outlined in the  Programming Windows Presentation Foundation book, but it seems like having default visuals and multiple skins for a custom control ...Show All

  • Visual FoxPro How to handle transaction consisting of different data sources?

    I want to know how to handle transaction consisting of different data sources (e.g. VFP dbfs and MS SQL tables). Thanks, Peter Hi Craig, Thanks for the post. I will check your website for the updated article. In my case, I have a VFP application which is using VFP data and another VFP application which is using SQL Server tables. Now, I want to add a module from the VFP (SQL tables) application into the VFP (VFP tables) application. So, for some transactions, I will need to update both VFP data and SQL Server tables together. If I understand correctly, transaction involves only 1 statement handle. By using DTC, transaction can involve multiple statement handles. Peter ...Show All

  • Visual C++ Function try blocks result in compiler wackiness?

    I have some code that uses function try blocks, but VS C++ 2005 apparently is ill-equipped to deal with these. An older KB article, Q241706 - http://support.microsoft.com/kb/241706/ - indicates that this was a problem with some previous versions of VS C++, but further web searching leads me to believe that this was supposed to be fixed for 2005. Can we look forward to a fix for this problem soon Thanks, Barry Okay, the following code void MAVDisplay::AddItem(LPCWSTR text, MAVControl* mavcontrol, int (*call)(), int sx, int sy, int lx, int ly, int movable, unsigned int color, int menu) try { if(menu == -1) menu = currentmenu; MAVMenu* m = GetMenu(menu); if(m == 0) throw std::logic_error("MAVDisp ...Show All

©2008 Software Development Network