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

Software Development Network >> C.Melançon's Q&A profile

C.Melançon

Member List

madshi
saruna
Juliano.net
JJ Unbreakable
anu_ooo
Tristany
chandrala
Hemant Hindlekar
John Lieurance
Ilja S.
Nick Tompson
Nico Vuyge
BH1234
Ovidiu Padurean
yeos_lee
K. Ravinder Reddy
Dinesh Kulkarni - MSFT
bubsnt3
keltak
collide
Only Title

C.Melançon's Q&A profile

  • Visual C# method not firing

    I have a method which is not firing. I use a customValidator control that calls the method onServerValidate I've tested the method on a seperate page using the exact same code and it works fine, so something is preventing the method from firing on my page. Here is the page where the method does not fire: http://dwayne.compasslearning.com/contact.aspx (click on the dropdown menu and select "request product and services information") When you submit the form, the phone number input boxes do not validate, which is where I have a CustomValidator control calling my method. Here is a test page, where it does fire: http://dwayne.compasslearning.com/validate.aspx I'm stumped on what is causing the method to not ex ...Show All

  • Visual Studio 2008 (Pre-release) To both of you: Would lazy loading related entities be impossible or bad for some reason?

    While on the subject of loading foreign key references... Is there some mnemonic I can throw into the LINQ query to tell LINQ to Entities that I want to pre-fetch all of the type data because I want to filter on it When I do: var filteredQuery = from game in gamesDb.VideoGames where game.Type.Name == "Nintendo Wii" select game; foreach (VideoGames g2 in filteredQuery) Console.WriteLine("{0} : {1}", g2.Title, g2.Type.Name); That thing works fine, and I don't have to loop through and call TypeRef.Load() Is there something I can stuff in the query when I'm not using a where clause that will force the TypeRef to pre-fetch Frans Bouma - C# MVP wrote: What's essential is that this is specifyab ...Show All

  • Visual C++ "R6002, Floating point not loaded" occurs when EXE file is compressed...

    I have a program built in Visual Studio 2005 (C++). When I try to compress it with UPX, MoleBox, HandProt, and so on... the program doesn't work anymore... It messages me with Error R6002, Floating Point not loaded... I suppose it's because the C++ compiler in VS2005 makes something different from others C++ compilers (VS2003, VS6, etc) when creating the PE structure. I think something is different that when compressed, the program can't load the variables float and double. I've observed and I'm sure that the crash occours exactly when some floating point is called. The program, when no compressed, works normally... I need to compress this program. Does anybody know if there exists some option in compiler that allow me to ...Show All

  • Commerce Server archive old orders Best Practice

    Hello What is the best practice for archiving old orders Is there any wat to reload arcived orders (which were saved on a diffrent table Thanks arik Arik, There are no prescribed ways that I am aware of. That being said you can export your orders to your back office systems and purge the orders on the front end if they are becoming too numerous to handle. Unless your tables are reaching millions of rows it shouldn't be too much of a performance issue. Are you experiencing issues currently or trying to anticipate future handling Cheers, Colin ...Show All

  • Visual Studio Working with MS-SCC API implementation and MS-Access

    Hi All, We have implemented MS-SCC API 1.3. I am testing this with all Microsoft IDEs VC6, VB6, VS03, VS05, MS-Accesss etc. While working with MS-Access, I am able to add an access database (containing different type of objects - tables, queries, forms, macros, modules etc) to the SCM. But when I try to create database from by using our source repository for other user, only tables get added to the database, not other objects like forms, modules. The other user has to execute "Get Latest Version" command for by selecting "All" from "Object Type", to populate other objects. While creating database, SccPopulateList() function get called. In this function we are checking out all object files in local file system ...Show All

  • Software Development for Windows Vista how to use WorkflowRuntime.CreateWorkflow(XmlReader workflowDefinitionReader)

    hi everyone, there is orderWorkflows.dll, which contains 'workflow2.xoml','workflow2.layout' and 'workflow.xoml.cs'. the following code can run. //// Load the OrderWorkflows assembly             System.Reflection.Assembly asm =                 System.Reflection.Assembly.Load("OrderWorkflows");             // Get a reference to the System.Type for the OrderWorkflows.Workflow1             System.Type workflowType = asm.GetType("Microsoft.Samples.Workflow.OrderApplication.Workflow2"); &n ...Show All

  • SQL Server Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    I am receiving the following message when connecting via query analzyer to SQL server using windows authentication.(error 18452). I have a login created with the sys admin server role on the server. When I connect using SQL authentication it works. I added myself to the local admin group on the server, this allows it to work. The same situation is seen with another user. I am using windows 2000 sp4 server and SQL 2000 SP3, connecting from NT4. I get the same issue if I use TCP or named pipes. We have been using SQL security but are moving to windows authentication - but this issue is stopping us. I have checked and upgraded my version of MDAC to match the server version 2.7 (sp1) Any help would be much appreciated. Thanks ...Show All

  • Visual FoxPro Report listener, HTML output on a Win98 machine.

    Hi All; I've been using a report listener to produce an html file. On win98 machines the detail band of the erport it empty. On XP all is Okay. Anyone experienced this and knows if there is a solution (Aside from upgrading to XP) Thanks. >> I think it may be related to GDIPLUS. I think you are correct. You may need to explicitly install the latest version of GDIPlus on the machine in order for this to work - assuming that it will work at all on Win 98. Remember Win 98 is no longer a supported operating system for the VFP Development Environment, although VFP Runtimes should work on that platform According to the help file: You can create and distribute run-time applications f ...Show All

  • Visual Studio Team System Can't profile web site running in IIS on WS2003

    I'm having trouble profiling a ASP.NET 2.0 website running on a windows 2003 server. I've followed several tutorials on the net, but I can't make it work. Here's what I did: 1. vsperfclrenv /globaltraceon 2. reboot 3. step 1 again 4. instrumented and resigned my files 5. Started the trace using perfmon 6. Started IIS 7. Interacted with the website, and saw w3wp.exe being connected to the profiler 8. Stopped IIS 9. Stopped the profiler using vsperfcmd -SHUTDOWN 10. Ran vsperfreport profile.vsp /PACKSYMBOLS /SUMMARY:FUNCTION When I open the VSP in Visual Studio on the same computer, I get no names for the functions only hexadecimal codes like 0xa000036 I've tried running vsperfreport wi ...Show All

  • SQL Server returning the number of rows from TOP PERCENT

    Greetings. I want to write a sql query that returns the number of rows from a query that uses top percent. For example, select top (7) percent object from objecttable It appears that @@rowcount will give the info but it does so as a separate column on each returned row. Any suggestions would be appreciated. Thanks. alan Thanks for the quick reply. I tried select top ( 7 ) percent objectid , count ( 1 ) over ( partition by 1 ) from bases order by state and got (objectid) (no column name) 16 85 19 85 23 85 85 85 38 85 34 85 I'm not sure what '85' represents. When I select and use @@rowcount I get '6' in each ...Show All

  • SQL Server Can't create a full-text index or catalogue on my sql table.

    I am trying to run an SELECT statement with a CONTAINS statement from a aspx.net solution built using Visual Web Developer 2005 express edition. When I try to run the thing it throws an error saying "Cannot use a CONTAINS or FREETEXT predicate on table or indexed view 'JournalArticle' because it is not full-text indexed.". I don't have access to the SQL Express server, I interface through Server Management Studio Express. There is an option to create a full-text index from the menu, but it is greyed out, presumably because there is no full-text catalogue. This is my real question, How do I create a full-text catalogue using Server Management Studio Express The help function only provides examples of sql code, which I assu ...Show All

  • SQL Server Database mail configuration

    I have configured database mail using the wizard, but when I try to send a test message I receive the following error: The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 Exception Message: Cannot send mails to mail server. (Failure sending mail.) Is there some more configuration I must do I have enabled mail using the surface area configurator. Thanks I would try using xpsmtp mail and forget standard SQL mail...it is a pain in the rear. You can get it (yes it is free) here http://www.sqldev.net/xp/xpsmtp.htm It is easy to set up and use and has teriffic documentation. I know this is not an answer to your question but I hope this ...Show All

  • SQL Server Error installing SQL Server 2005 editions on Windows VISTA

    There are numerous posts regarding this error when installing SQL Server 2005 on Windows Vista RTM thus I am starting a new thread in order to get resolution one way or another: SQL Server Setup failed to execute a command for server configuration. The error was [SQL Native Client]Windows user or group "\USERNAME\SQLServer2005MSFTEUser$USERNAME$MSSQLSERVER" not found. Check the name again... The error occurs when installing SQL Server 2005 Developer Edition, SQL Server Express SP1, SQL Server Express SP2 CTR (with or without the SP2 Toolkit package installed beforehand). The error occurs with or without UAC. The installation then fails. Please advise if you have any insights. SQL Server Express SP2 CTR was announced as a workable v ...Show All

  • Windows Forms Help Required to access the values of the data table

    Hello, I want to display the values of the datatable into a DataGridView. Can you pls help me to write a code which access each row of the table or each column of the table and their values...pls reply ASAP waiting for your reply.... Thx a lot in Advance... -sweety If you just want to access each row or each column of the table and their values,use the foreach clause,as: foreach ( DataRow dr in tableA.Rows) { //some code } foreach ( DataColumn col in tableA.Columns) { //some code } and,if you want to display content in the datatable to DataGridView,just set the DataSource property of the DataGridView this .dataGridView1.DataSource = tableA; ...Show All

  • Visual Studio Express Editions rss reader

    hi, I've been watching lesson 15 now and i'm stuck on this bit, the highlighted bit is the error in vb, does anyone know the solution, i've tried the online help feature but that didn't do it Dim currentchannel As rssDataSet.ChannelRow For Each currentchannel In RSSReader.rssDataSet.Channel .Rows Dim result As arrylist result = RssManager.rssrefresh(currentchannel.URL) Dim currentNewsItem As NewsItem For Each currentNewsItem In result Dim title As String title = currentNewsItem.Title If title.Length >= 50 Then title = title.Substring(0, 49) End If title = title.Replace("'", "") Dim filterexpression As String filterexpression ...Show All

©2008 Software Development Network