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

Software Development Network >> Marcus Rodrigues's Q&A profile

Marcus Rodrigues

Member List

bharath-k
okaban
AlphaWolf
Bill Henning
jerjer
Samsudeen B
Boris Mueller
Bluehunter
tnsgod831
benjamin b
Dan Shookowsky
rexx42
Jeanet
baga
ved_30
Raj S
N5GE
jomanlk
Yelnik
Vijay Thirugnanam
Only Title

Marcus Rodrigues's Q&A profile

  • Smart Device Development Display data on datagrid without selecting data in database

    Hi, I am using VB.net and Visual Studio 2005 to compile a program for a Pocket PC with MicrosoftR Windows Mobile 2003 Second Edition. What I want to do is to display data on datagrid without selecting data from a database. I know that one way to display data on datagrid is to first select data from database using "sqlCeDataAdapter" and then fill the data into a dataTable of a DataSet. Finally this DataSet is assigned to the DataSource property of this datagrid. However, now I have three ArrayLists: AL1, AL2 and AL3. In these ArrayLists: AL1(0) = 3; AL1(1) = 2; AL1(2) =1; AL2(0) = a; AL2(1) = b; AL2(2) =c; AL3(0) = x; AL3(1) = y; AL3(2) =z; The result that I am expecting is: on a datagrid, these data can be displ ...Show All

  • SQL Server SQL CE casting

    Hi, I would like to know if casting is supported in SQL Server Compact Edition. I get an error when i attempt to cast a datetime or bigint value to nvarchar or ntext. CAST(datetime AS nvarchar(15)) Does anybody knows if its supported or how could i cast values Thank you ...Show All

  • Visual Basic Custom Dialog Help

    I created Dialog1 in my current project. I cannot figure out how to get it to come up when my "New" button is clicked. The various ways I have tried all fail. Thanks for the help. Double click on the new button in the designer to create a click event. Inside put Dim dlg as Dialog1 = new Dialog1() dlg.ShowDialog() That will work. Now, go and buy a book to help you get over the initial learning curve that includes these sort of questions. We will be happy to help you either way, but you really need some sort of reference to accelerate your early steps, or it will take you ages to get past them. ...Show All

  • Visual Studio Tools for Office Error debuging Excel Smart Doc VSTO 2005

    Hi everyone!! I'm developing an Excel C# Smart Doc with VSTO 2k5, it was ok some time but recently when I tried to debug it it lauch an exception but the detail is empty, no exception, I was looking in th event viewer logs and more but nooo, it doens't reach the load event of the workbook, and something strange this project is Source Controlled by Team System, when you get the lastest version the smardoc loses the Microsoft.Office.Core reference, but trust me the COM is there, later it refresh and the reference is fine again, this was happening in another computer of the team but now this reach me, some one can help me please Are you saying that the Template file gets corrupted, have you a shared location you are developing the f ...Show All

  • Visual Studio 2008 (Pre-release) Export to XAML

    I made a drawing in a Canvas using code (I mean I used C# methods to draw lines, polygons, etc.) I wonder if it is possible to export this drawing into a reusable XAML file. (Something similar to Bitmap.Save() in Windows Forms is what I need). Homam Dear Homam, Have you tried your hands on Microsoft's Graphic designer ( http://www.microsoft.com/products/expression/en/graphic_designer/default.aspx ) - it’s in beta, so you can download it for free and try it out.  Its cool with a lot of stuff like this. HTH, Suprotim Agarwal ...Show All

  • Software Development for Windows Vista Remote Desktop still an issue

    According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 (ERROR_INVALID_OWNER) = "This security ID may not be assigned as the owner of this object." Does it work for somebody Many thanks in advance. 123 is ERROR_INVALID_NAME ("The filename, directory name, or volume label syntax is incorrect"). Check the command line / exe path you are passing it. Also, keep in mind that Local System does not have privileges to access network paths, and does not have the mapped drives t ...Show All

  • Visual Basic IT Asset Tracking System Objects

    I am fairly new to object oriented programming. I have developed a few usercontrols for an IT Asset Tracking System that I am developing but I need some good advice on the coding side of things as I am using VB 2005 Professional. What kind of classes and objects do I need to create for my system within VB 2005. So far as an example, I have the following tables in my SQL Server 2005 express database as I am fine with the db side of things: OperatingSystem - Lookup table for operating systems HardDrive - Lookup table for hard drive sizes CPUSpeed - Lookup table for CPUSPeed MemorySize - Lookup table for System memory WarrantyCompany - Lookup table for warranty companies ProductListing - List of products to add to purchas ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Beginner transform matrices question

    Hello all, I'm trying to learn DirectX9 (unmanaged C++) from 3 different books and I still have a few questions that I can't deduce the answers to. I'm hoping some of the gurus here can shed some light on these subjects: 1) How does Direct3D know when I'm feeding it pre-transformed vertex coordinates If I neglect to implement D3DXMatrixPerspectiveFovLH (or any other transformation matrix for example) will Direct3D assume that the vertex buffer data is already in screen coordinates 2) I've seen, in my book, an example of a custom vertex structure meant to contain transformed data (it's introduced before the chapter on 3D transforms). It looks like the following: struct ColorVertex {    float x, y, z, rhw;  &n ...Show All

  • .NET Development Help with Remote Querying -immediate-....

    Is there a way to execute queries against a database anonymously. There is a web site, which i'm a member of. There is a form on the web site, i need to fill and submit. I want to do this via a Windows Form. I know the field names and the query, but just dont know how i can execute that query, or can i execute at all Site is an online real-estate web site, my reason for using windows form is, whenever i insert new real-estate information into my database via my application, i want to publish that new real-estate information on that website , without having to re-fill all those lines. I thought of using the html file on the page and simulating submit event of that "submit button" but no idea in the end.^^ ...Show All

  • SQL Server Sum with 0 value

    Hi, I have following problem with sql server reporting 2005. When i am doing =Sum(Fields!Speed30HP_Avg.Value) in Group row it showing #Error text. I have some 0 value in Fields!Speed30HP_Avg.Value field. I have tried IIF (IsNothing(Fields!Speed30HP_Avg.Value), 0,Fields!Speed30HP_Avg.Value) but still it not working and giving same problem. anybody have any solution Regards, Dinesh Patel Try to run the report using the "Preview" tab in Reporting Services. In the output window, you should be able to see the exception that the textbox is throwing. Most likely it is having trouble converting between different data types. ...Show All

  • Windows Forms WinINet.dll dependency

    I have created a setup project using VS .Net 2003 for one of my MFC applications. I am using WinInet API in that application and hence the setup project automatically picked up WinInet.dll as a dependency. But I am not sure if I really need to package it in the MSI. Can I safely exclude WinInet.dll and assume that it will be available in the target machines This will reduce the size of the build by 600K. I am targeting only XP and 2000 machines. If it can be excluded, what precautions need to be taken during installation Any help would be appreciated. Thanks ...Show All

  • Visual Studio Express Editions How to add Help Balloons to the application

    Hi, I have set the Help Button Property on a form to true. This adds a question button to the form. If I then run the project and click the qustion mark button the move the mouse the question mark follows the mouse pointer to allow me to click on a control to then display help on the control. My question is how do I code this so when I click on a control it displays help either in the form of a balloon or dialog. Can not seem to find any help on this subject. Ron I have now downloaded the MS HTML Help Workshop application, after 1hr of messing around with it I was able to produce a reasonable HTML help viewer for my application. Using the help topics in the link, In my post above, I could s ...Show All

  • SQL Server money format

    Hi. I have a money field and its value is greater than a thousand.For example its value = 32.885,60 I want to show the field's format like this (this number's format). I mean the thousand separator should be .(dot) and the decimal separator should be ,(comma) And I want two digit after the decimal separator.All these conditions matches with this number(32.885,60) Could you help me SpaceCadet wrote: this is your function: shared function GetCurrencyFormat(byVal Amount As Double) As String return Amount.ToString("N") end function to call the function go to your layout and write in the cell or textbox or whatever the following: =Code.GetCurrencyFormat(Amount) ...Show All

  • Visual C++ Write a text file with Visual Studio

    Hi, I am trying to write a function thats save to a text file the text I wrote in an EditBox of my main dialog. I tried many ways but the only approach that seems to work is through the code that I detail below. Still I could not write down the whole text, the last three characters are not written!!!, What I am doing wrong . Is there any way of doing this more easily . I am using Visual Studio C++ 2005 Express Edition and if i try to use fopen compiler tell me is a deprecated method, so I don't want to use it. Thanks in advance. HRESULT RecordAuxTextData(HWND hDlg) { HANDLE hDestFile = INVALID_HANDLE_VALUE; BOOL bSuccess = FALSE; // Open destination file hDestFile = CreateFile (TEXT( "c:\\RASITSonidos\\myfile. ...Show All

  • Visual Basic Saved variables--lots of them.

    Hello, I'm trying to make a program that works as a sort of daily planner. It's going to be very simple, but works on the fact that I will have "slots" for activities at half-hour intervals. When I have finished with that particular slot, a messagebox will appear and a noise will play. This is a personal project and I want to use it to help me not over-work (a strange thing I know, but I almost never look at the time ^_^) The whole thing will have differing amounts of "working" school loads (sport doesn't count as a studyable subject). To make matters worse, I want to add that I need some sort of way of storing notes, but I'll save that for a later date. Right now, I'm desperate to know how to dynamically save variable ...Show All

©2008 Software Development Network