ReLoad's Q&A profile
Visual C# Creating SFX file through C#
Hello Sir, I am a C# Developer, and I have a very specific requirement. I am developing e-Book Creator Project, and in that I need to give an option whereby on clicking it it will create the Installer for that specific e-Book. (a .exe installer file). I know how to create an installer for a project but i don't know how to create an installer from the application itself, programmatically. Please not that I don't want to make Installer for my project, My project is E-book Creator, and throught that e-Book will be created. Now I want to give an option in My Application through which the e-Book Creator can create .SFX kind of installer, which are distributable, and those .sfx can be used by another user to install e-Book with its ...Show All
.NET Development Connecting to Access Database
Does anyone know how to connect to a access database using vb.net I created the database in access and added the Odbcdataadapter and was able to preview the contents of the database. I have a text box with a next button and a new button. Each time I click next i want to see the names that i have in the database appear. When i click new i want to be able to enter a new name in the textbox and it gets written to the database i already have with the names. Any thoughts Thanks!! I am new to connecting to database in VB. Does anyone have a simple code to show me how to use the odbcdataadapter and the odbcconnection, there was also mention about datagridview. I have know idea how that works. I have made a few ...Show All
SQL Server SQL Express does not allow remote connection within VB.Net Express
I am new to VB.Net coming from a VB6 background using the VB.Net Express and have even loaded the SQL Express. The learning curve is not to bad until you get to dealing with connecting to db's. However, in trying to fill a grid with data, manipulate it and then update it has not been any fun either. There does not seem to be enough information out there dealing with these two as of right now. Anyway, trying to add a datasource connection for a grid has resulted in a real problem even using the connection wizard. I keep getting the same error that the default settings for SQL express does not allow remote connections. However, I thought that I have corrected that. Unfortunately, with VB express I cannot even seem to talk to my SQL 2000 ser ...Show All
Windows Forms ClickOnce and third-party library updates
Hi, I created a small in-house application that I am successfully publishing to an internal server using ClickOnce. It seems to me that if I get an update from a third-party library and then create a new version of my software using the update, ClickOnce no longer works for the app. The file name of the third-party control changes, so it seems like ClickOnce doesn't realize to use the new component file names instead of the old ones. Do I need to do something special when I upgrade third-party libraries Otherwise, ClickOnce works just great for me. Thanks in advance... -Eric ...Show All
SQL Server Optimizing Query to Run
I'm trying to get a query to run which looks at completed orders that have not had another paid order in 180 days. The database I'm running it against is very large so I can't get it to complete. Where's what I've got: select Date =cast(cl1.cl_rundate as datetime(102)),count(cl1.cl_recno) as 'Completed Initials', cl1.cl_status as Status from dbo.vw_Completedorders cl1 where cl1.lob_lineofbusiness = 'aaa' and cl1.cl_rundate > '20060801' and not exists ( select cl2.cl_company from dbo.vw_Paidorders cl2 where cl2.lob_lineofbusiness = 'aa'and cl2.cl_company = cl1.cl_order and cl2.cl_rundate > '20060101' and datediff(day,cl2.cl_rundate,cl1.cl_rundate) < 180) group by cl1.cl_status, cl1.cl_rundate ...Show All
Smart Device Development How to register COM object on Windows Mobile device?
Ok so I know on the desktop you can create a COM component and register it so it's in the registry and sorta globally visible to all applications - but how would one do it on Windows Mobile I got Platform Builder and Visual Studio 2005 if anyone wants to know what I'm working with here. I need to access the COM component remotely, so I'd need to do this for that to work. Hi, I went through your conversation.I have also stucked up here.Actually i am making DSP Plugin for Windows Mobile. Same Plugin is working fine on Desktop media player. and it registers automatically. but on mobile emulator i can deploy the .dll file but i am not getting the effects. so if you have done ftuff like that then please ...Show All
.NET Development FileSystemWatcher event not raised when mailserver moves file
Hi folks, i just build a service application which is used to observe the mailroot\queue-folder on a W2K3-Server. A FileSystemWatcher is set on this folder & the application will check the mails popping up there. As it works with normal drag'n'drop/move of files, no event will be raised if the mail server places a file in the queue folder. Some settings: FileSystemWatcher.Filter is set to "*.*", no NotifyFilter defined, Created-, Changed- and Renamed-events are used. Any help available Thanx alberich Thank you for your fast response. The application is running on the server, no network path involved. Also there is no change of the file directly after a notification (regarding to the KB245214). There is no notification. ...Show All
Visual Basic containing control not a valid container
I am getting an error while adding the frm to the project. The same is working fine in another folder with vb project. When I try to open only this particular from in a new project , I am not able to do so. Please help. Johnson., more information is need on how you are trying to add it. A form has three fille components to it, not just the .vb fille FormX.designer.Vb FormX.resx.vb FormX.vb ...Show All
.NET Development how to use WMI to get registry keys
Hi, I need to access the registry through WMI but i can't find any examples on the internet, can someone help me tkns P.S.: the language is C# well, one thing i didn't mentioned was that the registry i want to access is on a remote machine, that's why i want to use WMI. ...Show All
Smart Device Development Inbuilt camera capture event on the smart phone- Urgent
hi all, I already made the application for the cameracapturing. Now due to the demand of the company, i need to develop such a thing that, if the user opens the built in camera of the device, and captures the image, i can track that capture event and display the menu: "Upload file" "Send to friend" these r the options of my application. I dnt knw how to do atall.Please help needed urgently.Also how can i get the format and the file name by which the built in camera saves the file, as soon as it clicks Thanx in advance. thanx for the reply. I m sorry for adding urgent, i want help quickly, thats y. Thanx for the 1 soln, but wht abt the other 1. How to knw that user has opened the bu ...Show All
Windows Forms Use existing columns in datagridview when binding?
I'm binding a datagridview in runtime, but i would like to be able to design the columns in designer. Of course thats not possible since the designer does not know what columns it's bound to before the application is running. Is it possible to add unbound columns to the datagridview, and when setting the bindingsource in runtime, make it reuse existing columns if they have same name for instance I'm fairly sure that i have done this before, but i can't remember... If you specify columns with the designer, then the columns in fact exist as objects on the form at run-time and you can assign the database column-name into the DataPropertyName of the object, as in dgvColName.DataPropertyName="mydbcolumnna ...Show All
Visual Studio Can I install VS.NET 2003 on a computer having VS.NET 2005 already installed
Hi, I would like to know if it is possible to install Visual Studio.NET 2003 on my Windows XP Professional SP2 computer having Visual Studio.NEt 2005 already installed Will both IDE work properly Grateful for answers /M Your welcome. Mark the post as the answer, so when others search the forums, they might be more inclined to look at a successful post than a non successful one... in the search results the Answered posts are bubbled to the top before the unanswered . ...Show All
Visual Studio Express Editions Using Listviewitems for text in a groupbox
Hello all, I am needing to ust items in a listviewbox as the text for a groupbox. In the listview box it shows drives and the files in those drives. I have got that part, now I need to use the checked items in the listviewbox as text for the groupbox. Example I check the drive labeled C:\, now I want to add C:\ as the text for the groupbox. If you dont understand let me knwo and I'll try yo be more clear. thanks Although the groupbox is a container control....the only text property it has is the label for the groupbox Me.GroupBox1.text= String.empty For Each i As ListViewItem In Me . ListView1 . SelectedItems Me .Groupbox1.Text = Me .Groupbox1.Text & " " & ( i . Text ) Next How ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Private Network Functionality with XNA
Hey guys, Does anyone know if there will be any networking API included with future released of XNA Im not looking for developing for Live! but for a custom client/server structure. Any insight would greatly be appreciated. ...Show All
Visual Studio 2008 (Pre-release) Styling the ContentPresenter nested inside GridViewRowPresenter
In XamlPad, the Visual Tree display shows the following: :ListViewItem :GridViewRowPresenter :ContentPresenter I can style the ListViewItems and the GridViewRowPresenter within Xaml, but how do I control something as simple as the Margin property of these ContentPresenters Note that it's easy to style a content presenter, but I haven't learned how to style the ContentPresenters which are created by the GridViewRowPresenter. Is the only way around this to use code rather than Xaml Thanks. You can use the ItemContainerStyle property to define a style that apply to your ListViewItem, and can define an ItemTemplate if you want to define what template will be used for ...Show All
