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

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

Art_

Member List

Helen999888
webhead
Herk108
Ademaure
Mgrondin345
asalcedo
DanielWiss
XenoSilence
yosonu
Adil Hussain
Xp3ll3d
CGuyArun
Rockyrud
Snake86
meconnell
itowlson
Omicron
Brian C. Barnes
christian bitter
skailey
Only Title

Art_'s Q&A profile

  • Visual Studio Determine Number of Pages on Report

    I have a custom print/export feature on my webform instead of the built in ReportViewer controls. This allows me to print/export with MS AJAX. The CRV outputs javascirpt in the page load event which doesn't play well with MS AJAX. My code allows the user to optionally input FirstPage and LastPage to print. If FirstPage is blank then default to 1 If LastPage is blank then default to N. I can't figure out how to get the number of pages out of CR. I tried setting N to zero (0), but that seemed to output the entire report no matter what the value of FirstPage is. Any ideas on determining the CR page count. I did see this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=560381&SiteID=1 but this doesn't work with my report ...Show All

  • Visual Studio Express Editions vc++ express sp1 msvcr80.dll woes

    Hi I have installed sp1 and now cannot load/execute anything I build with it. Here is a small test case... exe_src.cpp: int main() { return 1; } build.bat: cl /Zm800 -nologo ^ "exe_src.cpp" -Fo"exe_src.obj" ^ -TP /O2 /Ob2 /W3 /GR /MD /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c -DNDEBUG link /NOLOGO /INCREMENTAL:NO ^ /subsystem:console /out:"test_exe.exe" ^ exe_src.obj I get the following error at the command line: The system cannot execute the specified program. Depends tells me that it cannot find msvcr80.dll: Error: At least one required implicit or forwarded dependency was not found. Error: The Side-by-Side configuration information in "c:\dev\myprojects\home\test\TEST_EXE.EXE.manifest" conta ...Show All

  • Windows Forms Bindingsource.Find problem

    Hi all, I have a problem with the bindingsource.find methode. When i do this Me.GemeenteBindingSource.Find("Gemeente", txtGemeente.text) It wil return the index of the value of the txtgemeente.text box, but what must i do when i want to find a partcial nam An example : If txtGemeente = "Veurne" , i found the record and everything is fine, but when i search after txtGemeente = "Veur" then he doesn't find anything. How can i resolve this problem Thanx in advanced So i bind a combo box to my DB, and if they type a part of the text , it will auto go to such records. oke i get it, but in VB6 was it possible, with some code. I should found it weird, if they doesn't put s ...Show All

  • Visual C++ Project does not detect code changes in referenced project

    Hi, I have a C# application that has a reference to a managed C++ assembly/project, which contains some managed and some unmanaged C++. At one of my computers, suddenly the C# project no longer detects code-changes in the C++ project, meaning that the dll-files copied to the bin-folder of the C# application is out of date. Facts: Set "Copy Local = true" on the referenced assembly I tested on a different computer, and there this was not a problem - the C++ assembly was properly copied to the target bin-folder of the C# application. If I do "Rebuild solution", the C++ assembly is properly updated in the target bin folder. Visual Studio detects that code changes has been performed, but the "parent" project does not. ...Show All

  • SQL Server DATAMINING tasks

    what are the different data mining tasks........... The most common basic data mining tasks (supported by SQL Server 2005) are classification, regression, clustering, forecasting, association analysis, correlation analysis. All tasks act as blocks in solving a really large set of business problems. A few starting points: - http://www.microsoft.com/sql/technologies/dm/default.mspx -- The tutorial and the Webcast ("Introduction to Data Mining in SQL Server 2005") provide a good description of what data mining tasks are supported in SQL Server, plus details on the tools - http:// www.sqlserverdatamining.com -- lots of information, tutorials etc. ...Show All

  • Visual Studio 2008 (Pre-release) how to bind to a dictionary (or something like that)

    I've got a dictionary<String,Object> and want to bind a xaml object to the key of the dictionary so it shows the corresponding value. So far I only found ways to bind to get/set accessors, or to attached DependencyProperties, but can't find a way to bind to the key of a dictionary. Is there any way to bind to something like this thanks, Sam You can create bindings where the path is based on indexers into a collection. In a string format you can represent the index delimiters as [ key ]. See documentation for Binding.Path . To create a binding in code that could take an arbitrary key you could write a little utility like this: public Binding MakeIndexBindingFromPath(string keynam ...Show All

  • .NET Development fast ping

       Hi,    I need to write a fast ping program to ping class C & D IP addresses. I have written a piece of code to open a socket, connect to it and receive data from it with a timeout. This is fast enough for a few IP addresses but  I would need to ping 255x255 IP's. I have put this code on a separate thread which calls an asynchronous method to loop over the IPs. This is taking a minute for each set of class D IP's. How do I make it run faster Thanks  PS: I am using the 1.1 framework this .clientSocket.Shutdown( SocketShutdown .Both); this .clientSocket.Disconnect( true ); // True means Reuse //Dont Call Socket.Close otherwise it ...Show All

  • Software Development for Windows Vista ConnectDirect() failing without calling CheckMediaType

    Greetings all. I'm just getting into DirectShow programming, so I apologize if this is a stupid question or anything, and I also apologize for my incessant wordiness. I'm trying to make a renderer filter. For my reference, I'm looking at the DX9 Texture Renderer sample. The sample was surprisingly buggy, but after fixing it up I got it to compile and render onto that lovely cylinder. After taking it apart to find out how I could implement something similar in my own program, I found that it worked by just adding the source filter to the graph, adding the custom renderer, and just calling Connect() on the pins, letting the Graph Builder stick in whatever filters it felt was necessary. This is not acceptable to me, because it seems it always ...Show All

  • Visual Studio Team System Compiling web sites with Team Build

    I am trying to automate the build process. I have 5 web sites and I want to be able to run the team build and then be able to run the aspnet_compiler to publish them to a new server. How do I use the team build to produce all the associated dlls with that website like it is done by right clicking on the web site and clicking 'Build Web Site' Thanks, That worked but when I do a build using mixed platform I get an "error MSB3021" message. c:\tfsbuilds\TFS\NightlyBuild\Sources\Platform.sln(0,0): error MSB3021: Unable to copy file "c:\tfsbuilds\TFS\NightlyBuild\Binaries\Mixed Platforms\Release\Microsoft.ApplicationBlocks.ExceptionManagement.xml" to "tex\\Bin\Microsoft.ApplicationBlock ...Show All

  • Visual Studio Express Editions code not working for a negative number

    hello i have a text boc were i can type in plus 5 to -5 in reality. when i type in anyting when it beigns with - so for NWgativ the app craps out; the codei have for postivie is as follows, and it works great. I want to toype in a number , eg 4.7 and the black box i talk to to see 47, so negative -3.2 the black box shouls see -32, many thanks in advance, ian Private Sub TextBox2_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged Try 'When ActEasyIF is selected by the radio button, 'the WriteDeviceRandom2 method is executed. iReturnCode = AxActEasyIF1.WriteDeviceRandom2( "d1" , 1, Convert.ToDecimal(Format( "{-#.F1}" , TextBox ...Show All

  • Visual C# How to copy Array of objects, by values?

    abstract class AbstractClass { public abstract double this[int i] { set; } } class Point { public double x; public double y; } class ClassA : AbstractClass { private Point[] points; public ClassA(Point[] point_arr) { points = (Point[])point_arr.Clone(); } public override double this[int i] { set { points .y = value; } } } class ClassB : AbstractClass { private Point[] points; public ClassB(Point[] point_arr) { points = (Point[])point_arr.Clone(); } public override double this[int i] { set { points .y = value; } } } public static void Main() { Point[] point_arr = new Point ; int i; for (i = 0; i < 8; i++) point_arr = new ...Show All

  • Visual Studio 2008 (Pre-release) What purpose is the 'let' keyword in a query expression

    I notice in the language spec the 'let' keyword in the query expression syntax. from-let-where-clauses: from-let-where-clause from-let-where-clauses from-let-where-clause from-let-where-clause: from-clause let-clause where-clause let-clause: let identifier = expression What does it do Why is it needed I don't see it used prevalently in the 101 samples. Do you have an example use. Troy. OK, I think I get it; it's for efficiency. It lets you do an intermediate projection so that it can be used throughout the rest of the query. Thanks, Troy. ...Show All

  • Smart Device Development Winsock and timeout under WM5

    Hi everyone, My application connects to a server using GPRS. Since the application is running in the backgroung, I want to ensure that whenever the user presses the red key (stopping GPRS connection), the appli connects again. I could achieve that but the thing is that now, my server is asked to reply as late as possible (to minimize GPRS traffic). When a request is sent, the appli is waiting for an answer, if I press red button at that time, the application won't connect again. I again there is a failure in the timeout handling in the winsock. I use the command : setsockopt(this->m_iSocket , SOL_SOCKET , SO_RCVTIMEO , (char*)&iTimeOut , sizeof(int) ); to set the timeout, but it seems reading MSDN that SO_RCVTIMEOUT option is not i ...Show All

  • SQL Server URGENT

    i am using reporting sevices sql2005. i need some help.i am using some reports throug URL access.But i got one problem. My URL is working particular table when i give.But i need to change my url dynamically. suppose i have One Filter when i select One option its going to that URL .If Supposei select Another Filter i need to go to another report.So i need to change my URL dynamically is it possible.Can any body help me So you want to display another report based ont he paramters This is not possible, though the paramters are sticked to 1 Report. Another soloution for this would be, like we always did, is either to put a custom webform before calling the reporting services, or create a report with displaying the different parameters ...Show All

  • Smart Device Development Device ID Data Type

    Hi All, I want to be able to uniquely identify a mobile device. I've discovered that devices have a Device ID but is only accessible via the Win API through PInvoke() calls. The article I found is here: http://msdn2.microsoft.com/en-us/library/ms172516.aspx PInvoking is not a problem for me. I actually found this article through a message board where someone actually had problems using it. 1) Is this article up to date and compatible with WM 5.0 devices Most Importantly 2) Is the device ID a GUID Or is it something else The article indicates it converts the final result into a string not a native GUID. This doesn't actually mean that the string doesn't contain a GUID though. I haven't run it through yet to see, but I do ...Show All

©2008 Software Development Network