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

Software Development Network >> nicromi's Q&A profile

nicromi

Member List

Michael Herman - Parallelspace
Padmaja T Chavali
cplusplus1
Mike Hildner
JLombela
Matt Greenwald
jortiz
Barry Kwok
Neotech
Andy Ho
Andrea Lattuada
jfkennedy5
Owend
GaryR
Rob Wheeler
Robin Debreuil
joynerCN
JakeGpb
swan_sgp
MoP73
Only Title

nicromi's Q&A profile

  • .NET Development Webserver access & Proxy

    Hi, My winform app needs to access a webserver and there is a Proxy in my network. Then I have this : The request failed with Http status 407 : Proxy authentication required. What should I do to get the Proxy credentials to access the webserver ( VS2005 + VB ) Regards. Hi, Thank you but ...what should I put in the " proxyAddress" The Proxy IP Regards ...Show All

  • Visual Studio Express Editions Unable to update a database included in the project

    Hello all, I seem to be having a wierd problem. I included a database into the project. It works fine till the time I try to add a new record. I am used the wizard to create a database,add source wizard to create the datasets and then dragged and dropped the datagrid view onto my form. The data I enter gets stored in the dataset, then I use the dataadapter.update() and it tell me that one row has been affected. Everything looks good till this point, but then when I close my form and have a look at the database explorer the data has not got added to the database. After a lot of searching around I found that the data is getting written to new copy of the database in the /bin/debug folder (I have no idea how this database got there). If I tr ...Show All

  • SQL Server Stopping job after timeframe

    Is there a way to stop a scheduled job after a particular amount of time has passed I have jobs in which the running SSIS packages wait for a file to appear in a particular folder. As is, the job will wait all day. What I want is the job to fail if after say 5 hours, the file never appears. (Plus for the next day I need to package to "reset" itself with the current date.) That is exactly what you do. Yes, it is a hack. In most places that I work with that have larger numbers of servers, we don't use SQL Server Agent at all and instead purchase 3rd party software to handle all of our jobs. Of course, the 3rd party software handles scheduled tasks for DB2, Oracle, Windows, Unix, and several other sy ...Show All

  • .NET Development Puzzling problem....

    I have an application where I am loading a dataset from a SQL server database. I have all databound controls on the form. The problem occurs when I try to update the data. When I edit a field on a record and then click the update button the database is not updated. However, if I change a field, and then navigate to the next record ( or for that matter ANY other record ) in the dataset and then hit the update button then the record updates just fine. This has me tearing my hair out. As far as I can tell Im doing everything strictly by the book. The dataset is a strongly typed, I used the wizards to configure both the adapter and the dataset. Any clues on where I should look next I believe you need t ...Show All

  • Visual Basic item check delay, how to overcome it

    I'm using the code below to change a checkbox's checked value depending on whether or not certain items are checked in a checkedlistbox. However, there is a delay; the checkbox's value is not changed until after a second click on the checkedlistbox item. Is there another way I can do this Private Sub clstFactors_ItemCheck( ByVal sender As Object , ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles clstFactors.ItemCheck If clstFactors.CheckedItems.Contains( CheckedText1 ) Or _ clstFactors.CheckedItems.Contains( CheckedText2 ) Then chkTwoSources.Checked = True Else chkTwoSources.Checked = False End If End Sub And as I pointed out you will ne ...Show All

  • SQL Server Issue with cursor

    Hi I have created a cursor with the following syntax: " DECLARE costs_cursor CURSOR SCROLL DYNAMIC FOR SELECT RegNumber, FirstName, LastName, Assessment, Catering, Travel, Accommodation, Other from dbo.T_Course_Data ORDER BY LastName OPEN costs_cursor" which works. What I don't understand is why, when I attempt to update a value in the cursor, irrespective of whether I use the 'FOR UPDATE' option or not, I get the error message to the effect that the cursor cannot be updated because it is READ ONLY. Clearly (to my mind anyway) the cursor wasn't created as read only. My update statement is " Update dbo.T_Course_Data set Assessment='222' WHERE CURRENT OF costs_cursor" The odd thing is I have another cursor in m ...Show All

  • Visual Basic changing background

    how do i change the desktop background of the current user on the press of a button Put this statement at the top of your source code file: Imports System.Runtime.Interop ...Show All

  • .NET Development Strong names for assemblies

    Hello, I'm a new developer (in several senses of the word "new") and I am working on a large-scale internal project requiring testing of code written before I got here. I have already used the CLR profiler successfully on a production release of the product. However, the CLR Profiler is not giving me the information I really need (how long a process takes in real time); so I've written a short assembly that I've attached to certain methods in the project that writes out to an external file with a trace and other information. The problem that has arisen is, in one specific class, this assembly causes a build error, because it is not a "strongly named assembly." How exactly does one name an assembly strongly BTW. ...Show All

  • Visual Basic DateTimePicker...

    i store datetimepicker value in string format... as below... signDate=format(DateTimePicker1.Value,"dd/MM/yyyy") now i wanna retrive back the string value ("dd/MM/yyyy") in date format...so how do i change string bac to date format ... thanx... because i wanna to show in dd/MM/yyyy... any other method... i m still a noob here... hehehe... ...Show All

  • Visual C++ how can I get the head file which include the exporting functions and .idl files.

    I am using a com libray (I do not have the source code) , I wonder how can I get the head file which include the exporting functions and .idl files. If I have the source code this question is easy for me but I donot have the source code I appreciate your help. The win32 dev newsgroups at http://msdn.microsoft.com/newsgroups is a better place for such issues. OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual C++ Binary to decimal function in C

    Hi, I am trying to write a function in C that will take a binary number from the user and convert it to its decimal equivalent. I was wondering if there is a way to write this function without converting the input from the user to a string and manipulating it. Is there a way to write this function only using integers. Also is there is a way we can cast a char to an int in C Thanks for the help. Sunny I would reread my opinion on using an int to encode a binary number, e.g. if user enters "1001" don't convert it to base 10 (as I think you're doing). This is one-thousand-one, not one-zero-zero-one, and then you end up with a messy algorithm to convert it back. (And you're also converting inv ...Show All

  • Windows Forms Datagrid Row Style

    Hi, I am using datagrid within windows form. I have applied column styles to each columns. Now I want to change the row style dynamically with certain criteria. I can't find any classes within grid. Any Idea how to change the row style for particular single row dynamically like row backcolor, font color etc. Thank You Mohan I usually use the cellformat event to change the backcolor of a row. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace CSCellFormat { public partial class Form1 : Form { public Form1() { InitializeComponent(); } ...Show All

  • SQL Server sql server 2000:bulk insert with transaction?

    hello everyone, I have a question about bulk. I use sql server 2000 I want to insert data into table by using bulk insert, and after bulk operation I must update some fields of another table. so I decided to use a transaction. but the following things made me surprised. after I bulk insert data to a table, I run update and get a error, then I rollback, the bulk inserted data did not rollback, How can I use bulk insert in a transaction thanks! ...Show All

  • Visual Studio Team System Server name in Changeset.aspx

    I changed the name of my TFS server in all sorts of places, but there is one left which I can't figure out. When I get an alert email that something new was checked in, I get an email with a link to the changeset. It ends with /VersionControl/Changeset.aspx artifactMoniker=16&webView=true. In there is a reference to a XSL stylesheet, but that reference is using the old, original server name. How can I update that one as well Thanks, David Hm, the hosts file is not an option. One needs admin rights to do that and we have a number of clients onto which we don't have access. I'd consider this a key part of extranet scenarios and would strongly urge you to include the fix in SP1. Without this ...Show All

  • Visual Studio Showing Multiple Crystal Reports using one procedure

    Hi, I have about 10 Crystal Reports that I want to be able to export with the same characterestics into Excel. I was hoping to be able to create a select case statement where the button pressed text would tell me which report to open. The problem that I am having is that I can't figure out how to Dim a blank crystal report. I know how to do what I want to do if I was doing forms instead of a crystal report. Sub cryst( ByVal btnSelected As Button) ' This one line below is what I need to change. Dim myForm As New Form ' btnOne, btnTwo, and btnThree are buttons that can be clicked 'frmOne, frmTwo, and frmThree are form names Select Case btnSelected.name Case "btnOne" myForm = New ...Show All

©2008 Software Development Network