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

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

johnnysaucedo

Member List

McGeeky
rajesh20k
KyleNHS
Deldy
learningtoprogram22
WII
Dirk Van der Straeten
tackett
LamptonWorm
Muhammad Usman Khalid
danadanny
Cyke
71EFBB98-D1FE-4eff-BAC5-F94AC74
Lovericky
ehsan sadeghi
Amos Soma
Rattlerr
GILLT
manjunath cv
John Hind
Only Title

johnnysaucedo's Q&A profile

  • Visual C++ Isssues with VC 8

    Hi all, I have written a simple code in VC 6.0 and this is running well in it. But when i am trying to compile the same code in VC 8 , then i am getting error while compiling , even though the automatic conversion from Vc 6.0 to VC 8 is done. For example in case of a for loop for(int i=0;i<5;i++) ; cout<<i ; // error But in case of Vc 6.0 it runs fine, Why is not automatic conversion of code. Or is there any way to convert 6.0 code to Vc 8.0 automatically, or do i need to change the code manually. Plz sort out my problem. Thanks in advannce Rajesh What error exactly I see two possible errors: i is not defined, cout is not defined. for(int i=0;i<5;i++) ; cout<<i ; ...Show All

  • .NET Development How to connect to remote computer by LAN

    Hello In VB6, I was connecting to another computer by LAN using Microsoft Winsock Control and I was making conversations between computers. Is there better way to do it in VB2005 Thanks I want to do it by IPs. I mean I want to send a word then the other receives it. Example: I have two computer, IP of the first is "192.168.0.1" and the second is "192.168.0.2" I want IP1 to send a word to IP2 and the conversely. How can I do it ...Show All

  • Windows Forms How to put contents to two fields into one TextBox?

    Hello, I've just started creating my first windows app. using Visual Studio Express and have added a SQL Server Express DB, created the DataSet, added TableAdaptors, DataBindingSources, etc, etc. I've managed to create a master/details style form by dragging and dropping objects from the DataSet - much easier then coding it all by hand! Now I'm stuck... I have a DataGridView containing a four columns from each row in the BindingSource; when the users selects an item in the list the Details form is populated with all the columns for the row - with each column in it's own TextBox. I want to combine the content of some fields and place them in a single TextBox - for example I have columns called 'FirstName' and 'LastName' which I wou ...Show All

  • Visual C++ Drawing to a MemDC with CRichEditCtrl

    I'm trying to have my CRichEditCtrl's render to a memory dc. I was expecting to be able to just use SetTargetDevice( MyMemDC, ...) but it doesn't work. Any ideas most appreciated. Also, please let me know if there's a more appropriate place for this question. I looked for Win32 and/or MFC forum but couldn't find one. Brian, Thanks for pointing this out. However, when I click on your link above I get: a dialog box entitled: "Unknown Error" Is there a better link to the Win32 Developer Forum Mike ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Trail" effect with sprites.

    Hi all - I'm currently developing a GUI system, but I've come to testing the first stage of it and I'm finding a strange problem. When in the game Update() method I tell all my Controls (my custom class) to update their coordinates and I draw them in turn in the Draw() method. Now when I have one Control overlayed on another, I see that the overlayed Control looks like its "trailing" after its parent control, trying to "catch up", even if you drag it fairly slowly. (The effect *does* disappear but only when you drag it about a few pixels per second). Now I believe this has something to do with the fact that I'm using SpriteSortMode.Immediate. Problem is, I need to use this SpriteSortMode because I'm setting SampleStates. I tried ...Show All

  • Software Development for Windows Vista Icons libraries problem

    Hi, everyone. I've just found strange issue in Windows Vista RC1: I am trying to load any *.icl file and this is not possible. There is always strange behaviours. Everything depends on calling application type: graphic applications gives error with "corrupted file" message when I try to load *.icl file other applications gives empty display for icons loaded from library (e.g. try to make shortcut with Your icon hidden in ICL) or just shows information that ICL file does not contain any icon icon editors see no icons in *icl file (even if this file has been created just few seconds ago in the same application). There is nothing wrong with taking icons from *exe files. There is nothing wrong with tested ICL ...Show All

  • Visual Studio Express Editions Storing structure Data into SQLServer database

    hi, Can anybody explain me to how to store the Structure data to SQlServer database.I have created a Structure data type that contains three members text,font and color.I have to store all these information into the database under a single column.I think,have to create a new type in SQlserver.But,I don't know how to create a new type in sql server from vb.net.can anybody please explain me.Thanks sheeja All created datatypes in SQL are nothing more than customizations and mergers of existing datatypes..so the first step is to find out how you want to store the information in the single column...text, binary, etc.... ...Show All

  • Visual J# draw a graph with J#

    Hello I want to draw a temperature graph on aWindow form with J# but I don`t know how can I draw something with J# on a Window Form. So could you help me please. Thanks Mayer Thomas Try something like this (System.Drawing.Graphics class). It worked for me. public class GPanel extends Panel { public GPanel( ) { this .add_Paint( new PaintEventHandler ( this .GPanel_Paint)); } private void GPanel_Paint( Object sender, PaintEventArgs e) { Graphics graphics = e.get_Graphics(); .... /* check System.Drawing.Graphics class and its methods } You can then use GPanel in your Window Form. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. can't build space wars; attempt causes VS 2005 to hang

    I have Visual C# 2005 Express and Game Studio Express.  I've been working with random projects in 2005 Express and they compile and run fine.  I was able to build and run the "Your First Game" tutorial without any problems. I created a new SpaceWarWin project; this seemed to go fine.  But when I start to build it (F5, F6, ctrl+F5, right-click+build), the status output (lower left) says "Build Started...", but no build appears to actually start, and my entire machine slows to a crawl.  No freeze/hang, mind you, just everything very, very slow.  Task Manager shows 2005 Express as "Not Responding", and my CPU jumps to ~50% and just stays pegged there, though there's no disk activity and nothing apparently happening ...Show All

  • .NET Development DirectoryEntry's CommitChanges() gives "The server is unwilling to process this request" 0x80072035

    Hi, i am trying to do an AD DirectoryEntry.CommitChanges() to certain attributes of an object CN=user123,CN=Users,DC=domain,DC=com. when i do a CommitChanges() to certain attributes (such as badPasswordTime, badPwdCount, lastLogOff, lastLogOn, logonCount, objectCategory, samAccountType and userAccountControl) i get this exception "The server is unwilling to process this request" (0x80072035) can anyone tell me why this error might be coming i have a windows 2003 sp1 + iis6.0. if i browse thru msdn, all these attributes are said to have been set by the System. so is it that we cannot change these attributes set by the System Thanks If a user is deleted then they are irrevocably gone. Each user g ...Show All

  • Windows Forms Drawing on pictureBox

    Hi, I am making a scrolling text with transparent background. However, the pictureBox1 seem to draw nothing and the string is drawn on Form1. Any idea Hi, you wired your Paint event in a way that the drawing is actually happening on the form, not the picturebox. To draw the text on a picturebox, modify your code like: public partial class Form1 : Form { private String drawString = "Sample Text"; private Font drawFont = new Font("Arial", 31); private SolidBrush drawBrush = new SolidBrush(Color.White); private int textX = 0; public Form1() { InitializeComponent(); this.pictureBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint); ...Show All

  • Visual Basic Question about Deleting Files

    I have a VBScript file that I needed to code into VB I can understand some of how this is done but I'm unable to found any information on some of the problems I'm having. Here is the code for the VBScript file the main problems I'm having with some users for some reason there login name and the folder that windows uses isn't named the same so I needed to ask is there a way to delete files in VB basiced on there Extension and how can I point to a Directory using a variable Thank you for any help. 'This script will delete the CSV file in the users temp folder, this was created to fix a problem that we were 'having with windows displaying the wrong information once some many of these file were created. 'Version: 1.0 ...Show All

  • Visual Studio Tools for Office Adding a macro to excel using C# in asp.net

    I am creating a customized excel report for my company using a webpage. Part of the excel file is a macro to handle printing though, and I can't seem to get it to work correctly. The code works... The page building the report impersonates a user that has access to Excel. Excel files can be created but, when I attempt to add the print macro I recieve this error: Programmatic access to Visual Basic Project is not trusted The user being impersonated has the security setting in excel set to: Trust access to Visual Basic Project I discovered on accident that if the impersonated user is actually logged in on the server that the code executes as expected, every time. If you have any idea how to correct this problem please let me ...Show All

  • Visual C# check .net version installed

    I'm working in VS 2005 .NET 2.0, how can I check if this net's version is installed at run time. I know that if not is intalled exe application throw an error, send to microsoft, etc. but I would like to shows a friendly message to "you need to update to .NET 2" or something like that and exit the app. thanks in advance for your help, Edward You need to create non .NET application for that. Setup.exe from setup build when having prerequisities is just like that. If you don't want the message from MS that gives information about not having .NET 2.0 and a link for immediate download which i think is just fine, then you should think of creating another application. You can do that in native C++ that ...Show All

  • Visual Studio Express Editions Any pro can help me with this difficult problem

    Im having trouble creating a new connection through Visual Studio Web Developer. When I try to add a new connection all it gives me is an error-Unable to data connectionThe DataConnectionDialog could not be intializedWhen I test my page it seems alright going to the localhost but when I try to add a connection it wont let me.What could be the cause And how can I fix this problem I want to connect to the sql server on my computer.. I cant because of the error above Make sure you have the latest MDAC installed: http://msdn.microsoft.com/data/ref/mdac/downloads/ ...Show All

©2008 Software Development Network