Bhaskar Reddy's Q&A profile
.NET Development Making databases in code
does anyone know how to make a database completely out of code Visual Basic has a COM object named ADOX.Catalog which could do this. what im looking for is a .NET namespace to implement this into my C# application. Take a look at this article . ...Show All
Visual Studio CONFUSED AS HELL
my visual basic express 2005 applications cant run under .net 2.0 framework in my other computer what is the problem here in my other pc i installed .net 2.0 i wanted to test out if they worked but they just dont every single one of them failed to work. i dont understand this, why is microsoft providing the .net 2.0 framework which is not compatible with visual basic express 2005 what framework allows vb express applications to run on different computers Hi, do you use beta of visual studio express this my cause some conflicts if you have a other version you compile with than you use the prog ...Show All
Visual Basic How can use WebRequestMethods.Http.Post?
Hi... How to use WebRequestMethods.Http.Post At google I founded only one file: http://dotnetjunkies.com/QuickStartv20/util/srcview.aspx path=~/howto/samples/net/WebRequests/clientPOST.src But in this code thers a commond named :HttpUtility that my vb(VB 2005 Express) says its not exist... ty for helpers! btw: sorry about my lame english. I'm sorry but i didn't find any page that tells me how to send data at method POST and get the html code returned from it. Can you plz give me a link Thanks you. ...Show All
Windows Forms Concurrency error
I'm fairly new to .Net and am busy updating a complicated DB that had Access as the front end. Progress with .Net is slow! I have a main table with a number of 1 to many relationships. I have arranged Datasets for my form through the IDE. On my main form I have two fields from the main table (the primary key and a name) and a number of other fields from the related tables. Everything works fine if I change anything from the related tables. However, if I alter the name field from the main table, I get a concurrency error on save. I know I can force the save but later the application will move to a multi-user enviiroment and I would prefer ...Show All
Visual Studio Express Editions Installing VS2005 over trial edition
Hello, I received the trial edition of VS2005 a few months ago and recently purchased the professional edition and need to install it as time is running out on my trial. I used the trial edition with a few SDKs and dlls without really worrying about keeping track of them (I assumed the upgrade was a simple registration key change, not another install). Will the install of the paid edition wipe all of this out I also assume I don't have to worry about uninstalling anything as (I think) the trial version was a release version. True Thanks You can actually convert a trial to a full version by choosing ...Show All
Software Development for Windows Vista Beta2 - Breakpoints in designer
Hi to all, When I set breakpoints on activities on design surface, they don't get hit (and display circle with exclamation mark during debugging session). However breakpoints in code behind of workflow break just fine. Thanks in advance. Hi Odul, This can happen if workflow debugger is not invoked. If workflow is a library and workflow host is a different application, you will need to mark the workflow library as the startup project and set path of the workflow host in Properties\Debug\Start external Program. This is required to invoke the custom workflow debug engine using F5 command. -Sonali ...Show All
.NET Development Automation of Data in MS Word
Dim wordApp As New Word.Application Dim wordDoc As New Word.Document wordApp = New Word.Application wordApp.Visible = True wordDoc = wordApp.Documents.Add With wordDoc.MailMerge .MainDocumentType = WdMailMergeMainDocType.wdFormLetters Dim sSql As String sSql = " SELECT PolicyNumber * FROM Policy.dbo.PolicyNumber" Dim sConn = "DSN=CINSQL07Q\CINBLOCK.TRAD_APPS.AAG\dpowers;DATABASE=policy.dbo.policynumber" .OpenDataSource(Name:="SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info= False ;Initial Catalog=TRAD_APPS;Data Source=CINSQL07Q\CINBLOCK;", Connection:=sConn, SQLStatement:=sSql) . ...Show All
Visual C# Convert hex to character
Hi. I have a string of hexadecimals that i whant to convert into text that i can view in a textbox or a listbox. Ex string myHex = "062306340634"; Best regards Surfsune for something like that you need to loop through the character array and process it yourself. char[] myHex = new char[4] { '\x0633', '\x0643', '\x0627', '\u0646' }; string str = ""; foreach (char ch in myHex) { str += string.Format(@"\x{0:x4}", (int)ch); } ...Show All
Visual Studio Publishing open source tools
Hi guys, As part of my and my friends work at my company we have developed a nice tool to work with Ms Build scripts. After consulting with the executives in the company we were permitted to release the tool as an open source. I would like to get your advice, how to publish the tool Where And what are the steps I should follow in order to make our tool well known in the .Net community. To be more focused, our tool is aimed for Configuration Managers and Developers who are responsible for the build process in their organization. Thx Nir asked about this via e-mail as well, and we responded this morning. For ...Show All
Visual Studio Visual Source safe Over the internet?
Hey! I am having some problem to get the Visual Source Safe 2005 to work over the Internet. I am using a computer with windows XP pro as web server. This is the steps I take: Create database: 1. Creates a dir on my G drive(G:\SourceSafe). 2. Starts VSS 2005 Administrator 3. File > Open Databas 4. Add > Create a new database 5. Then I browse to my G drive and locate the directory (G:\SourceSafe). 6. Source safe database is now created. Settings: 1. Starts VSS 2005 Administrator 2. Server > Configure 3. Checks the “Enable SourceSafe Internet for this computer” Create User: 1. Users > Add User 2. And then I create a ...Show All
Windows Forms Accessing a dataset from another form
Ok, I'm not sure if this is the correct way on how to do this, but here is what I want to do. When my main form loads, I want to read in an xml document into XMLDataset, which I can do. But I want to only read this document in once when the app loads. Then whenever another form needs the dataset it can access ...Show All
Visual Studio Express Editions [newbie question] How to get value from textbox?
Hi, Example: int a,b,c. c = a + b . label shows c value, and i want a and b to be putted by user, but have no idea how to do that, textbox is a 'string' and i cant assing value from that. Help. Try this: int a, b, c; a = int .Parse(TextBoxA.Text); b = int .Parse(TextBoxB.Text); TextBoxC.Text = (a + b).ToString(); ...Show All
SQL Server Changes not replicated to subscriber
Hi, I hope you can help me with this. I am setting up a tranasctional publication with updateable subscriptions using: use [LIMS_PUBLISHER_TEST] exec sp_replicationdboption @dbname = N'LIMS_PUBLISHER_TEST', @optname = N'publish', @value = N'true' GO -- Adding the transactional publication use [LIMS_PUBLISHER_TEST] exec sp_addpublication @publication = N'LIMS_PUBLISHER_TEST', @description = N'Transactional publication with updatable subscriptions of database ''LIMS_PUBLISHER_TEST'' from Publisher ''RIVIERA''.', @sync_method = N'concurrent_c', @retention = 0, @allow_push = N'true', @allow_pull = N'true', @allow_anonymous = N'true', @enabled_f ...Show All
Windows Forms DataGridViewComboBox in DataGridView problem
the following code gives me 'DataGridViewComboBox Cell value is not valid': //getting a dataSet this .dsVerificationProcessInfo = DALcompany .GetVerificationProcessInfo(company.CompanyID, country); //setting dataGridView's dataSource to dataTable this .gridVerificationProcess.DataSource = this .dsVerificationProcessInfo.Tables[0]; ; //getting data for a dataTable from dataSet this .dtYearsLookup= this .dsVerificationProcessInfo.Tables[1]; //format year column this .gridVerificationProcess.Columns.Remove( "year" ); DataGridViewComboBoxColumn cmb = new DataGridViewComboBoxColumn (); ...Show All
.NET Development xml parser for 1.1
i've read that xml parsers under system.xml is still slow in 1.1. what should we then use I'd recommend you go with System.Xml parsers itself. Take a look at the following blog post: http://blogs.msdn.com/mfussell/archive/2004/02/23/78929.aspx Regards, Vikram ...Show All
