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

Software Development Network >> André Scaravelli's Q&A profile

André Scaravelli

Member List

dcube9
fatquack
Buddhist
kettch
GreatFox
lustigorMolch
AboOmar
Aziz Sedaghat
Saq0
petrusagostinhus
dbldown768
Fusion54
Programm3r
dotnetsr
kenneth123
cythe
HiTech2k
dragoncells
DanUp
Autechrian
Only Title

André Scaravelli's Q&A profile

  • .NET Development How to set UseDefaultCredentials to true as default for webservice

    Is there a way to setup a webservice so when it is instantiated, the UseDefaultCredentials is automatically set to true Maybe some setting in web.config I have a web service that requires authentication, but I want the ObjectDataSource to be able to bind to it. I am not sure about your first question.. But the way I handle the ObjectDataSource issue is to add code to the ObjectCreated event of the datasource. In this event you can get an instance of the object and set the properties you need. Protected Sub ObjectDataSource_ObjectCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceEventArgs) Handles ObjectDataSource.ObjectCreated Dim wsproxy As WebServiceProxy. ...Show All

  • Visual C++ Linking an app in debug mode against libraries built with /MD

    Here's the situation:  I have some third party DLLs, built with Visual Studio 2005, and which were compiled with the /MD switch (multithreaded DLL CRT libraries).  I want to build my application in debug mode, using the debug CRT (/MDd switch), linked against the libraries above. In VS 2003 .NET I could get this to work, but not with VS 2005. I continually see the message "MSVCR80.DLL not found" when I try to run the app. The third party DLLs were built using nmake and so have external .manifest files that are in the same directory as the DLLs. The directory containing these DLLs in on the PATH. My app is built using the VS 2005 IDE and so has an embedded manifest. If I use the "depends" tool that comes with ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Activator.CreateInstance on .Net compact

    I've got a bit of code that loads an assembly dynamically and invokes a constructor working fine in PC XNA but I can't find the equivilent under .Net Compact on the 360... PC Assembly assembly = Assembly.LoadFrom(s); Type mainClosure = assembly.GetType(scriptName + ".MainFunction"); LuaClosure cl = (LuaClosure)Activator.CreateInstance(mainClosure, new object[] { L.Globals }); Attempt on 360 Assembly assembly = Assembly.LoadFrom(s); Type mainClosure = assembly.GetType(scriptName + ".MainFunction"); ConstructorInfo ctor = mainClosure.GetConstructor( BindingFlags.Instance | BindingFlags.Public, null, new Type[] { typeof(LuaReference) }, null); LuaClosure cl = (LuaClosure)ctors[0].Invoke(new Object[] { L.Globals }); Which f ...Show All

  • Visual C++ FTP session count that windows system can run simultaneously

    Hi, I made ftp client program using WinINet API. The client first connects to the FTP server and downloads all of files in current directory. The flow is like this. ------------------ InternetOpen(...) InternetConnect(...) FtpFindFirstFile(...) (loop) FtpGetFile(..) InternetFindNextFile(..) InternetCloseHandle(hFindFirstFile); InternetCloseHandle(hConnect); InternetCloseHandle(hOpen); ------------------ The situation is, there are 100 FTP servers and I want run my own ftp client which inside running 5 threads each implements above routine. As a result, some thread fail to get files. My question is that FTP sessions(each connects another ftp server) couldn't run simultaneously Hello Re: FTP session count that wind ...Show All

  • SQL Server a simple question from a novice

    How do you work with an xml file that resides in a database column using IS XML related features From what i understand so far, the path cannot point to a column within a database but only to a source outside of the database. Am I correct I'm assuming you're talking about the Xml Task Shape in Control Flow. Add and Execute Sql Task to the designer. Double-click it to edit the properties. On the General tab you will see a drop down called ResultSet, choose Xml. Click on the ResultSet tab, and map the result to a Variable of type Xml. Double-click the Xml Task to edit the properties. On the General tab, in the SourceType drop down choose Variable. In the Source drop down choose the v ...Show All

  • Visual Studio Express Editions display data from sql in messagebox

    hi,got a question regarding the messagebox what i'm doing currently is displaying data from a table in a listbox using data binding source and adapter what i want to do next is to enable myself to select a particular data from the listbox,press another button to view the rest of the info from database where the attribute = selected value in a messagebox i'll give an illustration if my explanation isnt clear.i have a listbox which displays only car number plates,and i want to be able to select a particular number plate,click on another button which opens up a messagebox that displays the rest of the details of the owner of that selected license plate number is it possible to do this hi guys, ...Show All

  • SQL Server Distributed App, Technology Question

    Hi Everyone. I am trying to get ideas for a possible technology we could use for a certain scenario. In a nutshell we want to run a distributed application at hundred of remote stores, anything that happens at the store must be propagated to a central sort of hub server. Now i have already thought about replication, but maintaining replcation across hundreds or even a thousand remote instances would be a nightmare.Also the App must work offline so if no link exists the app must still work and sort of reliably queue the transactions. So i been experimenting with service broker, to write transactions, that then queue on to service broker to the central hub, therefore enabling remote stores to continue to work even if no comms exi ...Show All

  • .NET Development XML DOM and Javascript

    I would like to query an XML file (see part of the file below), using an input box on a html form, I woud like to type the name of the country eg Albania, and have all the attributes relvant to that country appear on the same form. I have tried using the getElementsByTagName method, but dont know the syntax that will allow me to associate the name of the country with the input box on the form..can someone please help..... <country id="cid-cia-Albania" continent="Europe" name="Albania" datacode="AL" total_area="28750" population="3249136" population_growth="1.34" infant_mortality="49.2" gdp_agri="55" inflation="16" gdp_total="4100&quo ...Show All

  • Visual Studio Express Editions how to make oledb connection

    I am new to database program in mfc(vc++6.0). I want to to make oledb connection to store data in msaccess database but i dont know where to start (1) How to make oledb connection . (2)i have created table t_quote in odl.mdb (3)how to use this table in program to enter data. can anybody help me to do this. I have read so many of tutoriel but I think more study more confusion.Sorry for this but pls if naybody can help me atleast to get start.Or you can suggest me some direct source link code for this Thank you ...Show All

  • Smart Device Development MSN Messenger error on POCKET PC: QTEK S200

    Hi, Infact i don't really know if this is the right place to ask my question or not but please accept my appology if this is not the right place. I have bought a QTEK S200 (IMATE JAMIN) Pocket PC. It includes Pocket MSN which has MSN messenger in it. I have tried loging in to pocket MSN using my WIFI connection but apperantly it doesnt work. at leaset the MSN didnt work. It just gave me the error: "Logon to the Messenger Service failed because the service is not responding. Please try again later" Retry | Cancel I was just wondering there is a way to solve that problem or not. Thank you for your time. and again sorry if this topic doesnt belong here. -Peymon This f ...Show All

  • SQL Server Deadlock at trigger

    a trigger need to insert or update record at the other table in high traffic environments however, the deadlock happens; ie, a trigger running twice at the same time want to need to insert record at the table. i trid to change isolation as SERIALIZABLE or REPEATABLE , but i cannot solve the problem. i guess the "while loop" affects the result because i try to cancel the loop and execute smoothly. How to solve the deadlock Thx ----------------------------- i used the following commands to change isolation level: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE begin transaction commit transaction ----------------------------- the code are as follows: declare setskuCursor cursor local static for select item, qua ...Show All

  • SQL Server RS 2005 and Custom Code

    Hi there I've added quite a bit of custom code to my RS 2003 reports. However, I am having no joy with duplicating the process in 2005. My functions are created (as public functions) and as long as I don't try to reference them in the report everything runs smoothly. However, when I do try to reference a function in an expression using the syntax code.MyFunction (), it does not recognise the function. Many Thanks Hi Teo Thanks for the response. Yes. After much frustration and eventually simply running the "faulty" code I have discovered that RS will simply not pick up Code.<Insert Function Name Here> , and it will show it as being incorrect. Simly ignore and life is a scream ...Show All

  • Microsoft ISV Community Center Forums Inserting rows and columns in protected sheet.

    I have got a protected sheet in which some of the columns and rows are locked. Hence the user will not be able to edit these cells. But they can edit the unlocked cells. i have set the lock property of all the cells in the sheet to unlock. Then i locked only the requried cells manually. But when i am trying to create a new column next to locked column or new row next to the locked row, the newly created column or row is also getting locked which is not the desired output for me. ie.if i am creating a new column (eg: after column A), then newly generated column (column B) is having the same format of Column A and hence the cells adjacent to locked cells(of column A) in column B is also getting locked. i want the column B to be not ...Show All

  • Microsoft ISV Community Center Forums reformat TOC (table of content) and write it to text file

    Hi, I'd like to read the TOC starting from below "Part II test cases" until the end of TOC. After that, I need reformat the TOC hierarchy in the format like example below and finally write the result to a text file. Example: TOC in Ms Word Part II Test Cases 7 1 Schedule Document 7 1.1 Cleanup instance after scheduling. 7 1.2 WebI Specific Scheduling. 8 1.3 Document Format 9 2 Schedule to printer 9 2.1 Collate option for Crystal Report 9 3 Default Destination. 11 3.1 Alter the object destination to default destination. 11 3.2 Schedule to Default Destination. 12 Text file format: (wanted) 1=/Schedule Document 2=/Schedule Document/Cleanup instance after scheduling 3=/Schedule Document/WebI Specif ...Show All

  • SQL Server How to integrate ADO in a Windows Service

    The problem is integrating an ADO connection into a Service in C#. The peculiar thing is that the same thing works well in an application but throws a problem in the Service i.e. the Service doesnt want to start... The problem is at establishing the connection - but the same thing works just fine in an Windows application. string MySqlConnString = "SERVER=N16\\SQLEXPRESS; TRusted_connection=yes; database = EventTrack2007" ; MySqlConnection = new SqlConnection (); MySqlConnection.ConnectionString = MySqlConnString; MySqlConnection.Open(); Thank you! When I try to install the Service under the "User" account I get the message: " No mapping between account Names and SecurityIDs was done &q ...Show All

©2008 Software Development Network