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

Software Development Network >> Jeroen Alblas's Q&A profile

Jeroen Alblas

Member List

medel
DavidW57
Sondre - MSFT Regional Director
Tryst
mbaclawski
Kyle J.
GrayMatter Software
Sam_res03
dowda
CharlieChang
crazy_boss
Jan57
evilkid
PushkarK
bxs122
Rocinante8
Mike Uttormark
pdxJaxon
RAGOpoR
Pablo Alvarez Jalon
Only Title

Jeroen Alblas's Q&A profile

  • Windows Forms DataGridView Combobox databindings - for the experts

    A normal combobox has databindings so that data for DisplayMember, ValueMember and SelectedValue can be taken from several tables. Does this ability exist for DGV comboboxes I don't see any DataBinding collections. Ok, thanks, Ken. Now I know it wasn't just my inexperience with the class. Fo rme to construct a more useful DGV would be asking a great deal. Would the additons be included in the V2005 Express SP1 Beta In fact it would be helpful if someone knowledgeable posted a message explaining just what types of objects would be addressed in the SP1 Beta.. Certainly not .NET framework software, but what else ...Show All

  • Windows Forms How to implement Complex DataBinding on Custom Controls?

    Im building a custom control called DataEntry Control and want to be able to setup a DataSource on property window, same way as DataGridView... Here are some parts of my code: <DefaultBindingProperty(""), ComplexBindingProperties("DataSource", "DataMember")> _ Public Class DataEntryControl     Private _DataSource As Object     <Category("Data")> _     Public Property DataSource() As Object         Get             Return _DataSource         End Get         Set(ByVal value As Object)         ...Show All

  • SQL Server Getting proc name from within .Net code

    Hi, I'm currently in the midst of writing my first sqlclr sproc. In our normal T-SQL sprocs we use the following: OBJECT_NAME ( @@PROCID ) to get the name of the sproc. We later use the result of this as a parameter to a custom message when we use RAISERROR . Question is, is there a way of doing the same from within a SQLCLR sproc i.e. Can someone give me a bit of code that will return the name of the current sproc (Obviously this is not the same as the name of the .Net class that implements my sproc). Thanks in advance for any help that you can provide. Regards ...Show All

  • .NET Development data objects and their limitations

    I'm in need of a lightweight data object to get data from database and process data in the object. I have the following questions: Which dataobject will work fast in fetching large amount of data from DB Is the any limit on the amount of data (in terms of bytes) for datareader and dataview If so, whats the limit Is the dataprovider required to read data from datareader object Can data be read from xml obj and put into a datareader Is it possible to get row count without going thru the datareader object Thank you. your reply did answer a few questions. But I really want to know which dataobject is a better option if I'm getting data as large as 400mb. I dont really need to do with the data in the dataset ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. help please Rendertarget on xbox360

    i have look at this sample by Manders vs. Machine i use 2 rendertarget and it work in winxp but not on xbox360 when you graphicsDevice.ResolveRenderTarget(0); ( you get a copy of what you just have render) so you can say this Texture2d mytex = Myrendertarget.gettexture(); now i shood have a copy of the rendertarget copy from xbox fast mem to local mem stored in my mytex now shwicth rendertarget and do the same and render to a screenquad on both textures this dos not work xbox so thery u can onlye have one rendertarget on xbox one for shadow and the mesh but i what to postprocess the mesh example bluer it a bit so i need a rendertarget more we can do this on windows but not on xbox i have converted ab ...Show All

  • Visual Basic drawing on forms

    VB 5 had tools to draw lines and shapes on forms in design mode. I don't see those in Visual studio 2005. Am I missing something I know you can code them, but how do you draw them directly on the form There is a samle line and curved line control class here: http://www.gotdotnet.com/team/vb/ in the samples section. ...Show All

  • SQL Server Need to join two tables using only part of a field from one of the tables.

    I need to join two tables that both have a field called caseid. The field in table 1 is ten numbers and the field in table 2 is 15 numbers. The 10 most significant numbers are consistant in both table 1 and 2. How do I tell the join to only use the 10 most significant numbers from table 2 Or how do I tell the join to ignore the 5 least significant numbers from table 2 Thanks. Maciej, Thanks for the reply. I wasnt sure if using "Most / least significant" was really appropriate in this case. An example of what I need to do. Table A; field - Caseid contains a value of 3216482469 (This number is specific to one case) Table B; field -Caseid contains a value of 3216482469-1234 The values in Caseid will var ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I cant install

    I downloaded everything, SP2, VC++ 5 and XNA, but I cant install XNA. It says that I need to download and install VC 2005, but I did that, I can run VC and do everything with it, but cant install XNA. Whats going on I'm not sure how many times we have to say it, but installing XNA Game Studio Express on Vista is not supported. Your screenshot is clearly sporting the new Vista look, so this is almost definitely your problem. Since you apparently have Vista, here is a set of officially unsupported instructions on how to install it: http://letskilldave.com/archive/2007/02/08/Getting-XNA-Game-Studio-Express-to-run-in-Windows-Vista.aspx --Stephen ...Show All

  • Visual Studio Express Editions Reading a web page...

    I have been trying to read from a Web page inside of a WebBrowser control. I can read the entire page code, but can not specify certain areas of the page to read, like a text box. I would like to be able to read just the text box in my web page and have it write the context of the web page text box over to my application textBox... This is the closest I've been, but I can not get it to work at all. It will do the "if ()" event, which is just a message box, but it will not copy the web pages text box contents to my application textBox. <input name="txtName" type="text" id="txtName"> in order to get that element, I would do this: HtmlElement theTextBox = this.theWebBrowserCont ...Show All

  • Windows Forms How to make a textbox that allows only integers in textarea.

    hi all, it will be great if any body explain me the steps to be taken to make a textbox that allows only integers. sample code if possible. thanks and regards ranadheer. try the following code. private void textBox1_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { if (! char .IsControl(e.KeyChar) && ! char .IsDigit(e.KeyChar)) { e.Handled = true ; } } ...Show All

  • Visual C# Index was out of range?

    I really hate to bother anyone with this seemingly simple question but it appears I am at the dead end. I got this message this morning: Index was out of range. Must be .... Parameter name: startIndex . There are three problem with it. Number one: I have almost debugged this massive application and it seems everything has been working for some time. Unless somehow the input stream's format changed which remains to be checked I do not know where to look. Second, there is no pointer as to where in the source code it happens. And thirdly, I checked and rechecked and I swear I do not have any variable of parameter named startIndex in the entire project. On top of that this error message does not seem to impede the performance. F ...Show All

  • SQL Server Problem with two consecutive calls to CallableStatement (jdbc driver 1.1, SQLServer 2005)

    Hi, I'm getting an error when I make two calls to a stored procedure (which I didn't use to). This is an example: import java.sql.CallableStatement; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; public class Main { public Main() { Connection sproc_con; try { sproc_con = getConnection(); CallableStatement sproc_stmt = sproc_con.prepareCall("{call getID( )}"); for (int i = 0; i < 2; i++) { int id = getID("Test", sproc_stmt); System.out.println(id); } sproc_stmt.close(); sproc_con.close(); } catch (ClassNotFoundException ex) { ex.printS ...Show All

  • Visual Studio Snippet with a generated GUID?

    I picked up this practice of putting GUID's in my exception messages a long time ago. It's slick, if you want to find an exception you just copy the first few chars of the guid and do a search. I have a macro that makes these exceptions now but it would be slick if I could build a snippet that would do the same 'cause then I could do a "Surround with...". Problem is I can't find any articles on making snippets do more than spit out pre-defined code. Can someone point me to an article on inserting run-time data into a snippet Without macros I'm not sure you read my question carefully. AFAIK, snippets essentially take little bits of text and replace them with the values that you type. In the ...Show All

  • Windows Forms Converting .Config files to .Deploy files using Mage.exe at command line

    How can i generate .deploy files using Mage.exe at commandline. I am facing problems with .Config files download at client systems, as IE do not allow to download .Config files for security reasons. If i do it manually, ie. using DOS ren command, it throws errors. Thanks. Thank you for your post, Tom. I am having a similar issue. I would like to use the ClickOnce technology to deploy my application. My clients will host the update location locally and change the app.config and manifest's PublishUrl for their local settings. I have been able to use mageui to rebuild and sign the application manifest and the deployment manifest. However, when I perform the same steps using the command line version, the following happen ...Show All

  • Windows Forms Connection String to .Net 1.1 with Mysql

    Hi, I want to do the connection string to .Net 1.1 with Mysql.I have no Experiance in MySql It will be helpfull if get some sample for writting the connection. Thanks, Karthik Use the mysql dot net connector For mysql 5 http://dev.mysql.com/downloads/connector/net/5.0.html For earlier versions http://dev.mysql.com/downloads/connector/net/1.0.html ...Show All

©2008 Software Development Network