RideABike's Q&A profile
Windows Forms Using retained Property values
I've got a deployment project which, for example, uses a Textboxes UI dialog to collect a customization value useful for the application. The value collected is stored in the registry by referencing the text box property name in a registry entry created by the project. The [TARGETDIR] property is stored in a different registry value via the same mechanism. I've got 2 Launch Conditions Search Target Machine entries to extract these to separate values from the registry and place them in the originally named PROPERTIES. I bump the projects VersionCode property (indirectly updating a ProductCode), and produce an Updated MSI file. If I then attempt to install this updated MSI file on a system which had the older one installed, the u ...Show All
Visual Basic How to open a CSV text file and import that data to a database?
I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...Show All
Visual C# Adding new project in current project?
How do i add new c# project file to a current project so that when i click a button on the current project it will invoke the project added... can also anyone provide me with c# code on "BROWSE" .. so that i can choose directory on where i want to save my file... thanks I dont see why placing theFolderBrowserDialog command in brackets works....its a string type thats being returned in the SelectedPath property so it should work... well the folder browser dialog only browses to the folder, you can use a SaveFileDialog, pretty much in the same way, if you want to save a file for example except you have to write the code for saving the file. however if you still want to go this way then its usually: theFolderBrowserD ...Show All
SQL Server how can I jump start my SQL Server skills (particularly on transact SQL)
Hi, Can some participants in this forum provide ideas on suggested training for somebody with a basic knowledge of SQL (started working in this field 6 months ago and still feel like a newbie beginner). I assume I should focus on getting T-SQL nailed down before delving into the SSIS piece of SQL Server 2005 Maybe there are a few companies that seem to give good practical knowledge and are located in the greater Los Angeles metro area Is it better to get certified through a 1 week or 2 week course via companies like Trainingcamp - does that really give you the practical skills to jump up several levels at one does at work Hope I can get some suggestions or direction on where I could best post this question for answers. ...Show All
Windows Forms Open close save
Hi i realy need help i want to create a alternative to word but my save featcher dose not save the things in my text box how do i set it to save the text box please help me Giggig guy Could you show any sample code of your save feature, psuedo code even. Without it no-one here will know how to answer your question. Do you mean you has established a format which allows the user to put textboxes on the page but when the file is loaded the text is not within the object or do you simply mean saving the text the user types into the textbox to a file as plain text You could mean many things, however if you just wish to act out the latter then here is a minimal amount of code to help... // 'path' should contain the full path inclu ...Show All
SQL Server negative values on a measure
have a measure called total sales amount in a FACT table some values are reported back as a negative number. anyone know the issue Perhaps you have invoice data in your fact table If so you can have something called credit invoices or resetting of transactions. A credit invoive is when you return a previously invoiced amount and a correction occurs when someone have made a transaction that is not correct. For the last you make a new transaction with the same amount, but negative, to zero out the effect of the error. HTH Thomas Ivarsson ...Show All
SQL Server SQL Reporting Services
Query # 1 When I export my SQL report to a desired format (like pdf) through a web application, it opens a new browser window. Even after i save the report (in pdf format), the browser window remaisn open. It is cumbersome for the user to close the window as it is not used for displaying anything. Am I doing something wrong which is obvious to anybody Query # 2 While saving the SQL Report in the desired format, is it possible to default the target filename to a configurable value in the file box which appears Thanks navingp Cant help you much but on Query 1 this seems to be the norm. The window also remains open for me. I dont think there is a way to change this. ...Show All
.NET Development how to connect to oracleXE using vb.net
Hello, this is srichand, i am very much new to this technology.. i would like to ask 2 questions regarding .net 1. can any one suggest me how to connect to oracleXE using vb.net. i mean how to access the database using manual codding in vb.net. 2. is there any chance of connecting to IIS(internet information services) using vb.net if so could you help me in this case. i would be very thankfull if you do this to me. thanking you one and all. srichand.k Hi, It is better to keep one question per thread so it easier to handle your questions. Anyway, to connect to an Oracle database, you need to add a reference to System.Data.OracleClient or Oracle.DataAcces. The Oracle.DataAccess dll is an optimiz ...Show All
Community Chat What's your Pick-up lines?
i'm thinking mine. I'm a dba. how about your's what your nature of work and whats your pickup line joeydj wrote: i'm thinking mine. I'm a dba. how about your's what your nature of work and whats your pickup line how does this apply to hot technology or did I miss the forum section name change to "off topic" ...Show All
SQL Server SQL 2005 Service Pack 2
Can anyone tellme when SQL 2005 Service Pack 2 will be out It is a big problem when I can't look at an existing role and see what permissions are for a group of objects. I found this in forums: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=605425&SiteID=17 quote user="Bill Ramos"] Actually - we have a "fix" in for our service pack 2 that will be available in CTP form later this summer that will list all of the securables for a given principle that have been explicitly set. You may need to use the "Effective Permissions" button to see if the principle actually has permissions on the securable. Thank you, Bill Ramos, Lead PM, SSMS BTw, the CTP for SP 2 is available - ...Show All
Windows Forms Context Menu Strip
Hey, by the way my richtextbox is set up I can not set the contextmenustrip I want to use diectly on the control. I have to use the Form1_MouseClick event. So how would I make it so that it only does somthing if the mouse left button is pressed I tryed: private void Form1_MouseClick( object sender, MouseEventArgs e) { if ( MouseButtons .Left) { } } but that does not work... Thanks :) ok, I did that, now nothign ahppens...if I right clcik the textbox but if I right clcik just outside of the textbox it shows the messaged then the menu... So, I think you mentioned somthing like this would happen in a previous post, so how would I fix that Thanks :) ...Show All
Visual Studio 2008 (Pre-release) XLINQ !!! is it stable ? is it recommened !?
Greetings fellow developers, i have a new big asp.net project and i am trying to decide either to invest time in developing my DAL with XLINQ as i am working under a deadline stress. my application will require working with xml files coming from (mssql, mysql) databases. i was wondering if there are specific areas i rather start with in my research. so far i dont know wht to dig in more (XLINQ or DLINQ) i know i am gonna get replied from the experts here so thanks for much appricated help inforward. kindest regards, XLinq is under development and the spec itself is in flux. It will not be released until the "Orcas" version of Visual Studio, and I don't believe the schedule is public at this point. So, as much as I would ...Show All
Visual Studio Express Editions VS C# express and SQL express
Hi, I've got VS C# express and SQL express connected and running fine, as far as I can tell. I can add and edit tables in VS, etc. I'm new to SQL though, so I wanted to ask a few questions that might be easy to answer. I'm working on a little Windows application that allows users to create and test themselves with flash cards. Here's how the program is supposed to work: A user selects a card through a ListBox in the UI, and then the contents of the card are displayed. (This works fine.) Depending on whether the user remembered the card correctly, he clicks on the "right" or "wrong" button. Then the next card comes up and the process repeats. I created two SQL tables to manage the information. One stores all the fla ...Show All
Visual Studio Express Editions c++ structure to vb net
I have the following c++ struct: typedef struct { WORD idReserved; // Reserved (must be 0) WORD idType; // Resource Type (1 for icons) WORD idCount; // How many images ICONDIRENTRY idEntries[1]; // An entry for each image (idCount of 'em) } ICONDIR, *LPICONDIR; typedef struct { BYTE bWidth; // Width, in pixels, of the image BYTE bHeight; // Height, in pixels, of the image BYTE bColorCount; // Number of colors in image (0 if >=8bpp) BYTE bReserved; // Reserved ( must be 0) WORD wPlanes; // Color Planes WORD wBitCount; // Bits per pixel DWORD dwBytesInRes; // How many bytes in this resource DWORD dwImageOffset; // Where in ...Show All
Visual Studio Team System How developers can chooce to download assemblies nightly build ?
Hello, After working on Source control and Work items i am now digging Team Build. I just started this morning to read some parts of the Internet provided SDK and I am currently on envisionning how I will organize my work to provide to my team a dev build that let each one select which newly available assemblies he needs to download to pursue his current job. I read here how to achieve a nightly build in usinga scheduled task. I suppose sharing the build repository on the network but I am currently not identifying what can I do to provide each developper with the choice to get or not some fresh builded assembliies. Does anyone already think about this features and how to solve it. If not how would you solve t ...Show All
