Jorge L Nieves's Q&A profile
Windows Live Developer Forums Problems with themes graphics?
The switchover to Live Spaces changed my theme. I was left with one little spot of my theme background on my space about the size of two postage stamps side by side. I used the Tweak toy to repeat it around. But, because of the shape of the theme graphic I have it does not match up worth beans. Surprisingly, when I use Tweak, the initial graphic gets bigger. This is one of the standard themes that comes with spaces. It was not custom or anything. I did not do anything to it until I tried to fix it with Tweak. My space is pretty crowded because I have a lot of lists, but at the bottom where it is blank, it looks like a badly done half-painted and half-wallpapered, wall. Also, it changed the colors in my space. I used tw ...Show All
.NET Development Retrieve Image Data from a Website???
Hi: As you know, most Websites have images on them. A Web browser retrieves an image 'file' from a URL specified in the src attribute of an img tag in the HTML and displays the image in the browser. What I want to do from within C# .NET is to retrieve/capture the binary data that makes up the image to an image or binary field (not sure which) in Sql Server so that I can display it as an image in an application, read from the Sql Server field, later. My intention is to log onto a Web page from within a C# application, read the HTML and then retrieve certain images as marked up in the HTML. Can I do that If so, how You can always take the link to the image Url and download it using HttpWebRequest. Parse the html res ...Show All
Visual Basic bitmap to an icon.
i am not positive this belongs here but i have developed a few program which i would like to place a custom icon on. is there a way or a converter i can use to create this icon and deploy it, i tried to make a bitmap of a simple icon, but see no way to make it into what ever visual basic/visual studio requires. it keeps saying it needs an 'icon' file so how do i make one meow.. There are a couple of ways to do with this. If you google on the net, http://www.telegraphics.com.au/sw/ ' this is an Aussie gentleman who gives away a free Icon plugin for photoshop. He requests a $5.00 paypal donation. I use this plug and it's wonderful. Also VB accelerator has a great program called: Alpha Icon Creator. - ht ...Show All
Visual FoxPro Merge 2 text file
Hi... I have to text file. Can anyone advise how to combine 2 text file into one file using Visual Foxpro 6.0. Thank you. Hi Markish, Sorry maybe I didn't make it clear just now. Actually what I wanted to do is as following:- I have one file call product.dbf another file call destination.txt Product.txt product id description product group A01 ball pen pen Destination.txt destination id name P01 penang I want the output to be like this:- product id description product group destination A01 ball pen pen penang Kindly advise. Thank you. ...Show All
Visual Studio Tools for Office Using AxSpreadsheet
I have managed to add MS Office Spreadsheet 9.0 to the toolbox and added the spreadsheet to a form but I don't know how to dimension (Dim statement in VB) the various components required to program the contents and formats of the cells and ranges etc within the spreadsheet. Hi Matt, It sounds like you're using a separate control, not VSTO, to do .NET code behind Excel. If this is correct, for Excel Object Model questions, you will have better luck posting your question to the Excel programming group, here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Best Regards, Rufus ...Show All
Visual Studio Express Editions Using a progressbar with a download, can't find specific code
I've found plenty of examples that don't use webclient. but I need to use webclient because of the ability to set the referer on it, which is imperative for the file the app is to download. Anyone know a link to some code, or have some code themselves Revenicus, There are two examples for you: 1. Use a WebClient object to download the data at a URI in VB .NET When you enter as URI and click the Upload button, the program creates a WebClient object. It uses the object's OpenRead method to open the URI for reading, attaches a StreamReader to the stream, uses its ReadToEnd method to read the data, and displays the result. http://vb-helper.com/howto_net_webclient_download.html 2. How to u ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Post-Processing glow shader
I'm trying to get the Glow shader technique discussed in a Gamasutra article (http://www.gamasutra.com/features/20040526/james_pfv.htm) implemented in my XNA project but am struggling with certain aspects of it. The blur of the scene takes place in two separate passes, one for each axis. So when you do the horizontal blur pass, you pass it your scene which you've rendered to a RenderTarget2D. Then for the vertical blur pass which follows, you have to pass it the resulting texture from the previous pass. This is where I don't really understand anymore... what is the proper way to set this up so that you can extract the results of the first pass and give it to the second pass when you already have an Effect activated ...Show All
Visual FoxPro Problem with Browser activex control
I have a vfp form with a browser activex control (which I've named ole1). I use the browser to display an html page which uses javascript to create a text editor object like this: var oFCKeditor = new FCKeditor( 'FCKeditor1' ) And then (again in javascript) I can set up the text to be edited like this: oFCKeditor.Value = "Some html <b>text</b> here" Is there a way of accessing the oFCKeditor object from foxpro after the page has been displayed I've tried something like Thisform.ole1.document.oFCKeditor.value but that doesn't work. Malcolm You can take a reference to the HTML form: oFrm = This.Object.Document.myForm Then refer to the form's objects: If o ...Show All
Windows Forms TextBox and ContextMenuStrip
On a form with a few TextBoxes and one ContextMenuStrip, if a TextBox is right-clicked I can get the particular TextBox instance that opened the ContextMenuStrip from the SourceControl property in the Opening event. But if the menu items have shortcut keys, the Opening event isn't raised. So how do I figure out which TextBox had the focus when the shortcut key was pressed Tony Use the form's ActiveControl property, it will point to the control that has the focus and invoked the context menu. ...Show All
Visual Studio 2008 (Pre-release) Communication Client Server via http
HI , What is the best way to communication between Client and Server. The Sever will be a Web Server. Client will be a windows application, windows service or Web Services. Client cannot be a Explorer. Basically client need to access its own machine and machine on local network. And send the info to Server. Ofcourse, if you are posting on this forum, the answer is WCF! Seriously, what you're asking is a 101 scenario for WCF - client and server talking to each other where the server is hosted on IIS; and the client could be a self hosted console application. I would suggest you download the SDK if you havent and just go through some quickstart samples; if you get stuck, you c ...Show All
Windows Forms Host ComboBox control in TextBoxColumn in DataGridView
Hi, I've been searching on the net for a solution on how to host a ComboBox control in a TextBox column of a DataGridView. I've seen the example of creating a custom control (Calendar) column, but that's a column. I need to change the CellType. One solution was to add a physical ComboBox to the DataGridView and then to place it aboce the TextBoxCell. But I'm not too sure about this. Maby there's a cleaner solution to this. Any ideas Thanks, Much appreciated Nathanael Hello again, I tried your solution and it works. But there's one problem though. When I click on the "TextBox" cell to change it's value I get a Combobox. I only want a ComboBox editing control for some cells in a ComboBoxColumn. Th ...Show All
.NET Development Problem inserting sql query into database float datatype field using SQL Transaction
I have this problem of inserting my query into database field. My code is as of below. The @AVERAGESCORE parameter is derived from Dim averagescore As Single = (122 * 1 + 159 * 2 + 18 * 3 + 3 * 4 + 0 * 5) / (122 + 159 + 18 + 3 + 0) and the value inserted is (averagescore.toString("0.00")) However, I have error inserting the averagescore variable into a field of datatype float during the transaction. I have no problems when using non transactional sql insert methods. What could be the problem myConnection.Open() Dim myCommand As SqlCommand Dim myTrans As SqlTransaction myTrans = myConnection.BeginTransaction() Try Dim i As Integer For i = 0 To arraySql.Count - 1 ...Show All
Visual C++ Urgent help required: Error 14001
In Windows XP I ported a VC++ project previously built with ver 6.0 to 2005. I could run the application in my machine without any problems. But if I try to run the same in other machines, I get following error. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. I looked at various threads in MSDN related to this and I did following to fix the issue. 1. In the target machine which doesn't have VC++ 2005, I installed Sax binaries. 2. Tried to create VC+ deployment project and installed the same in the target machine. Both attempts are unsuccessful. Can some one give me hint please Thanks in advance ...Show All
Visual Studio Team System Sharepoint Portal Error 2003 Urgent!!!!!
Dear all, I need help. My company Sharepoint portal have some problems. When I upload any docs, it show below: "Form Validation Error Please correct the information you provided by following these steps, then submit the information again: Web server is busy. Please try again." What can I do ....Pls help Thanks Cheers Tataime did anyone find a solution I have same error on a Sharepoint 2003 loads of diskspace left and databases all set to compatibility level 80 If I delete a file I can sometimes upload a new one. This error only shows when uploading file.. please anyone ...Show All
Windows Forms Print DataGridView...?
I have a datagridview on form2. With it I show different datatables,number of column and rows are different. I wont to print tables in that datagridview. How can I do that Please help! Thank you. Please refer these links ,I hope they will help. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1051496&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1063466&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=55401&SiteID=1 However, if you search in the forum before posting,you will get your anserw quickly ...Show All
