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

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

Rups11

Member List

jason duncan
GRAILS
rtaiss
K-2
S_A_S
KimberlyL
Baji Prasad
Paul_T
Cesar Francisco
Christian Knoepfle
Handi
Biocide
Ion101
Saleem Yusuf
QWERTYtech
Zoltan Schavel
Venkata Bayanaboyna
dunger
Mr_White
RemcoJVG
Only Title

Rups11's Q&A profile

  • Visual Basic New guy question, how do I do this???

    Ok, so I'm fairly new to programming, especially in .NET and VB. Everything before this was in MATLAB for me since I'm an aerospace engineer. I'm trying to build an sizing program for compressors, and I'm building a unit conversion class to take care of the obvious problem of inputs coming in as different units. I've taken care of the basics, ie: length, force, energy, pressure, volume, etc..., but now I want to do combinations thereof. The way my code works is it takes a ByRef value for either a conversion factor (for the combinations, since temperatures aren't always an absolute scale) which is initially zero or whatever, or a ByRef value for what you're trying to convert, and the input units, and the output units. The units were crea ...Show All

  • Visual Studio 2008 (Pre-release) Binding issue with deep clone

    Hi All, I am currently having an issue when I tried to deep clone the object that bound to the UI, below is the xaml file < Window x:Class = " Desktop.CustomerList " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:Desktop " Title = " Desktop " Height = " 300 " Width = " 300 " > < StackPanel > < local:CommandListView ItemsSource = " {Binding Path=CustomersView} " Command = " {Binding Path=EditCustomerCommand} " ...Show All

  • Software Development for Windows Vista Showstopping Bug in WF Persistence?

    We have been struggling through an error for some time and as yet have found no resolution. We would like to persist a workflow that contains activities that have subactivities (like subtasks). The problem is that we get a SerializationException when the app tries to load the persisted workflow (on SqlWorkflowPersistenceService.LoadWorkflowsWithExpiredTimers). The specific message is "The object with ID XXX implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other." If we take out the "subtask" concept, or take out persistence, our code works perfectly. Here is the code with the issue. //The Custom Acti ...Show All

  • .NET Development How to access router's webpage interface and restart it?

    I want to write a program for restarting router. I’ll try to describe the process of restarting a router: Start the browser. Enter router’s IP. Inset password. Click on “Apply” (menu panel) button and wait for 30 seconds countdown , for this period of time the web page should be opened for restart process to complete. Close the browser. The program should do all this of course in background (without opening browsers) . How this can be done and what tools should I use: webbrowser Control, HttpWebRequest or DOM technology Thanks for help and suggestions. Mike Flasko wrote: Take a network capture. What is a network capture ...Show All

  • Visual Studio Says "This project is out of date" every time!!

    I have a VS2005 project which creates a DLL. All was well until, for a variety of unpleasant reasons, I had to change the name of the DLL which it was creating. Since everything is happily checked into VSS, I didn't want to change the name of the project, the solution, etc., so I just left them be, and just adjusted the Linker Output File. This DLL project is part of a larger solution, namely the EXE that calls the DLL. Now, every time I hit F5 to run my executable, it says that my DLL project is out of date, and asks if I want to build it. If I say "Yes", it recompiles stdafx.cpp: 1>------ Build started: Project: Editor, Configuration: Debug Win32 ------ 1>Compiling... 1>stdafx.cpp 1>Linking... 1>Embedding manifes ...Show All

  • Smart Device Development WindowsCE, CF + Rijndael encrypt., I'm stuck

    extern "C" NATIVETEST_API WCHAR* TestString() { return L"Hello World"; } and in C# a return type of String.. with fatal app error. I have tried anything and everything I can think of, still nothing.. and i've been staring at this one problem for a few days. ...Show All

  • SQL Server Long report on one page?

    I have a very long report that I would like to appear all on one page. I want to be able to scroll from the top to the bottom without having to use the little page selector. How do I do this I got it to work for one report so I know it's possible. I just can't figure out why it works for that report and not for other reports. Thanks, Greg Van Mullem Interesting idea. I will give it a try. However, I still think there is an easire/better way. I have a long report where I did nothing special but it appears all on one page. Unfortunately I don't know what I did... Thanks, Greg ...Show All

  • Windows Forms Trouble Including Word/Excel Files in msi. File

    I have developed a windows app and have added a setup project to the solution. I added the application content files, soutrce files, and primary output files to the setup project. Now, it turns out that one of the folders in my project contains a Word document and an Excel spreadsheet but when I run the msi. file to install the program on my computer I find that everything is OK except that the Word and Excel files are not included in the installation. I can manually copy them there and everything's OK but my goal is to create a CD with the msi. file on it that includes everything (including the Word and Excel files). Can someone tell me how to see to it that those files are included in the msi. file when I build the application Thanks. ...Show All

  • SQL Server Cannot find an item in a big table

    Hello people, I have a table of 30,000 records on my handheld which runs windows 4.2 and sql me. When the item I am searching for is at the top of the table, the search finds it easily. When the item is in the middle or lower, it doesnt find it. I am not running out of memory and my database is on the local memory. Here is my code: String query = "SELECT * FROM Products WHERE Barcode = " + TheReaderData.Text; DataSet ds = GetDescription(query); label2.Text = TheReaderData.Text; label1.Text = "No description" ; if (ds.Tables[0].Rows.Count != 0) { label2.Text = (ds.Tables[0].Rows[0].ItemArray[0]).ToString(); label1.Text = (ds.Tables[0].Rows[0].ItemArray[1]).ToString(); } -- ...Show All

  • Windows Forms disabling ctlrs in the form?

    Hi, how to disable all the controls in the form. i need something like this foreach (control ctrl in form.collection) { ctrl.enabled=false; } thanks venp You pretty much have it, only the exact syntax would be (where being run within a form or other container class): foreach ( Control c in this .Controls) { c.Enabled = false ; } ...Show All

  • Visual Basic Excel Process Won't terminate

    I have seen loads of information on this but none seem to resolve my problem. Here is the situation: I am using Visual Studio 2005 and using SQLBulkCopy to copy a certain range of Excel values into SQL 2000 table. The copy process is successful but I need to have the Excel file opened - otherwise I get "External table is not in the correct format". When I finish the copy I try to release all Com objects but Excel process is still active. I tried changing my connection string, using both Marshal.releaseComObject and Marshal.FinalReleaseComObject. Neither of which are successful. I then began looking at killin the Excel Window that I open by using a GUID. This works but when the user closes the other Excel windows which they hav ...Show All

  • Visual C# Error compiling auto-generated ActiveX control wrapper code

    Hi, I have a third-party ActiveX control which I would like to use in a .NET environment using the typical COM interop mechanisms, i.e. just drag it from the toolbox onto a form causing Visual Studio 2005 to automatically create the required wrapper assemblies. This is the theory. Practically, when trying to do so, Visual Studio fails to create the .NET wrappers prompting the following message: Failed to import the ActiveX control. Please ensure it is properly registered. It succeeds in building the type library DLL ( MYCONTROLLib) , but brings up a compiler error when building the actual ActiveX wrapper ( Ax MYCONTROLLib) : Failed to create the wrapper assembly for type library "AxMYCONTROLLib". Compiler errors occurred w ...Show All

  • Windows Forms Capturing Live video

    Hi, Have anyone tried to use a USB to capture live video and present it onto a form I wish also to augment this with another computer generated picture of mine..!!! Any help will be greatly apprciated.. Grabbing video out of a web cam is pretty easy. Take a look at some of these examples of it: 1 , 2 , 3 , 4 , 5 ...Show All

  • Smart Device Development Keyboard driver modes - How would one implement two diff behavior?

    Hi, My WM2005 device has a sliding alpha-numeric keyboard.   When that keyboard is open on the WM2005 Today screen, the keyboard enters a "numlock" mode.  This is where some overloaded keys that act as the phone’s dial-pad only output numbers, not characters ( so a user can initiate a call from the Today screen ).  When an app such as Pocket Word has the focus however, the keyboard functions “normally”, meaning all keys output characters and a user must press the FN key plus an alpha-numeric key to generate a number.     I have written a custom Today screen item that accepts user input in a textbox.   I’d like to disable the numlocking state of the keyboard when the today screen is in focus and tha ...Show All

  • Software Development for Windows Vista error code 80072efe

    I am using Vista RC1, I can access most websites but not any Microsoft sites. Any suggestions had the same error, tried alot of things none of them worked but in the end updated the driver from the manufacturers website and all is well now ...Show All

©2008 Software Development Network